diff --git a/src/main/java/page/clab/api/domain/community/hashtag/adapter/in/web/HashtagRetrievalController.java b/src/main/java/page/clab/api/domain/community/hashtag/adapter/in/web/HashtagRetrievalController.java index 4142ad435..ebcf3cae2 100644 --- a/src/main/java/page/clab/api/domain/community/hashtag/adapter/in/web/HashtagRetrievalController.java +++ b/src/main/java/page/clab/api/domain/community/hashtag/adapter/in/web/HashtagRetrievalController.java @@ -20,8 +20,8 @@ public class HashtagRetrievalController { private final RetrieveHashtagUseCase retrieveHashtagUseCase; - @Operation(summary = "[U] Board에서 사용한 횟수를 포함한 해시태그 조회", description = "ROLE_USER 이상의 권한이 필요함") - @PreAuthorize("hasRole('USER')") + @Operation(summary = "[G] 게시글에서 사용된 횟수를 포함한 해시태그 조회", description = "ROLE_GUEST 이상의 권한이 필요함") + @PreAuthorize("hasRole('GUEST')") @GetMapping("") public ApiResponse> retrieveHashtag() { List hashTags = retrieveHashtagUseCase.retrieveHashtagWithUsedBoardCount();