Skip to content

Commit

Permalink
Merge pull request #163 from kakao-tech-campus-2nd-step3/Develop
Browse files Browse the repository at this point in the history
[Master] [유저정보] fix : 회사이미지 파일 빈 문자열인 경우 처리
  • Loading branch information
LeeTaek2T authored Nov 12, 2024
2 parents 0bdbd4d + e5fc744 commit 3b5c129
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3b5c129

Please sign in to comment.