Skip to content

Commit 6a8eb75

Browse files
committed
Initial Commit
1 parent 654bfaa commit 6a8eb75

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

backend/src/main/java/com/but/rebloom/domain/channel/controller/ChannelController.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,7 @@ public ResponseEntity<ApiResponse<GetUserChannelInfoResponse>> getChannelUser(@P
4949
return ResponseEntity.ok(ApiResponse.success(GetUserChannelInfoResponse.from(userChannels)));
5050
}
5151

52-
// 일반 사용자용 채널 목록 조회 (승인된 채널)
53-
@GetMapping("/find/all")
54-
public ResponseEntity<ApiResponse<FindChannelResponse>> getAllChannels() {
55-
List<Channel> responses = channelUseCase.getAllApprovedChannels();
56-
return ResponseEntity.ok(ApiResponse.success(FindChannelResponse.from(responses)));
57-
}
58-
59-
// 승인된 채널 목록 조회 (관리자용)
52+
// 승인된 채널 목록 조회
6053
@GetMapping("/admin/find/approve")
6154
public ResponseEntity<ApiResponse<FindChannelResponse>> getApprovedChannels() {
6255
List<Channel> responses = channelUseCase.getApprovedChannels();

0 commit comments

Comments
 (0)