From 9d326abee7b0289f72c4791890c3fce180591e94 Mon Sep 17 00:00:00 2001 From: senna Date: Thu, 14 Nov 2024 18:36:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8C=94=EB=A1=9C=EC=9A=B0=20=EC=B7=A8?= =?UTF-8?q?=EC=86=8C=EC=97=90=20=ED=86=A0=ED=81=B0=20=EA=B2=80=EC=A6=9D=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../team2/xclone/domain/follow/controller/FollowController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/leets/team2/xclone/domain/follow/controller/FollowController.java b/src/main/java/com/leets/team2/xclone/domain/follow/controller/FollowController.java index 8613d54..57d0083 100644 --- a/src/main/java/com/leets/team2/xclone/domain/follow/controller/FollowController.java +++ b/src/main/java/com/leets/team2/xclone/domain/follow/controller/FollowController.java @@ -21,6 +21,7 @@ @RequestMapping("/api/follows") public class FollowController { private final FollowService followService; + @Operation(summary = "특정 유저의 팔로워 목록 조회 API", description = "특정 유저의 팔로워 목록을 조회합니다.") @GetMapping("/followers") public ResponseEntity>> getFollowersByTag(@RequestParam String tag){ @@ -48,6 +49,7 @@ public ResponseEntity> follow(@RequestBody FollowDTO.Save dto){ @Operation(summary = "언팔로우 API", description = "사용자가 다른 대상을 언팔로우합니다.") @DeleteMapping + @UseGuards({MemberGuard.class}) public ResponseEntity> unfollow(@RequestBody FollowDTO.Save dto){ Member currentMember = MemberContext.getMember(); followService.unfollowUser(dto, currentMember);