From 5ac02e48ee1ac7bfc037d4b2920539a7c5b3a52e Mon Sep 17 00:00:00 2001 From: Eundding Date: Wed, 14 Feb 2024 22:21:56 +0900 Subject: [PATCH] fix: Resolve build error(#38) --- .../java/UMC/campusNote/image/converter/ImageConverter.java | 2 +- .../java/UMC/campusNote/image/service/ImageService.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/UMC/campusNote/image/converter/ImageConverter.java b/src/main/java/UMC/campusNote/image/converter/ImageConverter.java index 71a7835..9e571f2 100644 --- a/src/main/java/UMC/campusNote/image/converter/ImageConverter.java +++ b/src/main/java/UMC/campusNote/image/converter/ImageConverter.java @@ -2,7 +2,7 @@ import UMC.campusNote.image.dto.ImageResponseDTO; import UMC.campusNote.image.entity.Image; -import UMC.campusNote.note.Note; +import UMC.campusNote.note.entity.Note; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Component; diff --git a/src/main/java/UMC/campusNote/image/service/ImageService.java b/src/main/java/UMC/campusNote/image/service/ImageService.java index 26f95bf..3729ff7 100644 --- a/src/main/java/UMC/campusNote/image/service/ImageService.java +++ b/src/main/java/UMC/campusNote/image/service/ImageService.java @@ -7,8 +7,8 @@ import UMC.campusNote.image.dto.ImageResponseDTO; import UMC.campusNote.image.entity.Image; import UMC.campusNote.image.repository.ImageRepository; -import UMC.campusNote.note.Note; -import UMC.campusNote.note.NoteRepository; +import UMC.campusNote.note.entity.Note; +import UMC.campusNote.note.repository.NoteRepository; import UMC.campusNote.user.entity.User; import UMC.campusNote.user.repository.UserRepository; import lombok.RequiredArgsConstructor; @@ -24,9 +24,9 @@ @Service @RequiredArgsConstructor public class ImageService { - private final NoteRepository noteRepository; private final UserRepository userRepository; private final S3Provider s3Provider; + private final NoteRepository noteRepository; private final ImageRepository imageRepository; public Image createImage(Long noteId, MultipartFile file, Long userId) throws IOException{