diff --git a/Api/src/main/java/allchive/server/api/user/service/GetUserProfileUseCase.java b/Api/src/main/java/allchive/server/api/user/service/GetUserProfileUseCase.java index 083d005a..fe42d2cc 100644 --- a/Api/src/main/java/allchive/server/api/user/service/GetUserProfileUseCase.java +++ b/Api/src/main/java/allchive/server/api/user/service/GetUserProfileUseCase.java @@ -27,7 +27,7 @@ public GetUserProfileResponse execute() { Long userId = SecurityUtil.getCurrentUserId(); validateExecution(userId); User user = userAdaptor.findById(userId); - List archivingList = archivingAdaptor.findAllByUserId(userId); + List archivingList = archivingAdaptor.queryArchivingByUserId(userId); return userMapper.toGetUserProfileResponse(archivingList, user); }