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{