Skip to content

Commit

Permalink
Merge pull request #134 from MUIT-UMC/develop
Browse files Browse the repository at this point in the history
 [merge] 250217 / 32th deploy
  • Loading branch information
challonsy authored Feb 17, 2025
2 parents 18f0cd5 + 1654a32 commit 1ea1caf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public PostResponseDTO.GeneralPostResponseDTO editPost(Long postId, PatchPostReq

//기존 이미지 url->UuidFile화
List<UuidFile> dtoImgs = null;
if(requestDTO.getOriginalImgUrls()!=null&&!requestDTO.getOriginalImgUrls().isEmpty()){
requestDTO.getOriginalImgUrls().stream().map(file->
if(requestDTO.getOriginalImgUrls()!=null){
dtoImgs = requestDTO.getOriginalImgUrls().stream().map(file->
uuidFileService.getUuidFileByFileUrl(file).orElseThrow(()->new GeneralException(ErrorStatus.IMAGE_NOT_FOUND))).toList();
}

Expand Down

0 comments on commit 1ea1caf

Please sign in to comment.