diff --git a/src/main/java/team18/team18_be/userInformation/service/UserInformationService.java b/src/main/java/team18/team18_be/userInformation/service/UserInformationService.java index 58959ef..9ffd249 100644 --- a/src/main/java/team18/team18_be/userInformation/service/UserInformationService.java +++ b/src/main/java/team18/team18_be/userInformation/service/UserInformationService.java @@ -53,7 +53,7 @@ public Long createCompany(CompanyRequest companyRequest, MultipartFile logoImage byte[] imageFile = null; String storedFileName = null; - if (logoImage.isEmpty()) { + if (logoImage.isEmpty() || logoImage.getOriginalFilename().equals("")) { storedFileName = defaultLogoUrl; } else { imageFile = fileUtil.safelyGetBytes(logoImage)