diff --git a/src/main/java/com/example/likelion12/controller/SocialringController.java b/src/main/java/com/example/likelion12/controller/SocialringController.java index 5bac872..96ee23b 100644 --- a/src/main/java/com/example/likelion12/controller/SocialringController.java +++ b/src/main/java/com/example/likelion12/controller/SocialringController.java @@ -38,7 +38,7 @@ public BaseResponse createSocialring(@RequestHeader("Aut * 소셜링 수정 */ @PatchMapping("") - public BaseResponse modifySocialring(@RequestHeader("Authorization") String authorization, @RequestParam long socialringId, + public BaseResponse modifySocialring(@RequestHeader("Authorization") String authorization, @RequestParam String socialringName, @RequestBody PatchSocialringModifyRequest patchSocialringModifyRequest) throws IOException { Long memberId = jwtProvider.extractIdFromHeader(authorization); diff --git a/src/main/java/com/example/likelion12/service/SocialringService.java b/src/main/java/com/example/likelion12/service/SocialringService.java index 4a39171..e20c803 100644 --- a/src/main/java/com/example/likelion12/service/SocialringService.java +++ b/src/main/java/com/example/likelion12/service/SocialringService.java @@ -86,7 +86,7 @@ public PostSocialringResponse createSocialring(Long memberId, PostSocialringRequ * 소셜링 수정 */ @Transactional - public void modifySocialring(Long memberId, Long socialringId, PatchSocialringModifyRequest patchSocialringModifyRequest) throws IOException { + public void modifySocialring(Long memberId, String socialringName, PatchSocialringModifyRequest patchSocialringModifyRequest) throws IOException { log.info("[SocialringService.modifySocialring]");