Skip to content

Commit

Permalink
feat : 내가 구독하고 있는 주제 id
Browse files Browse the repository at this point in the history
  • Loading branch information
seungueonn committed Nov 20, 2023
1 parent 037811b commit 8939f4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public ResponseEntity<SuccessResponse<List<IssueBySubscribersRes>>> getIssuesByS
*/
@GetMapping("/subscribe/issue/{issueId}")
public ResponseEntity<SuccessResponse<IssueSubscribeInfoRes>> getIssueSubscribers(@PathVariable("issueId") Long issueId) {
return ResponseEntity.ok(SuccessResponse.create(GET_ISSUE_LIST_BY_SUBSCRIBERS.getMessage(), this.subscribeReadUseCase.getSubscribeIssueInfo(issueId)));
return ResponseEntity.ok(SuccessResponse.create(GET_SUBSCRIBERS_BY_ISSUE.getMessage(), this.subscribeReadUseCase.getSubscribeIssueInfo(issueId)));
}
/**
* 로그인 한 사용자 구독 정보 (List<Long>) -> contents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public enum SubscribeResponse {
SUBSCRIBE_SUCCESS("주제 구독을 완료 했습니다."),
UNSUBSCRIBE_SUCCESS("주제 구독 취소를 완료 했습니다."),
GET_MY_SUBSCRIBES_SUCCESS("내가 구독한 주제 조회를 완료했습니다"),
GET_ISSUE_LIST_BY_SUBSCRIBERS("구독자 순 주제 top 5 조회를 완료하였습니다");
GET_ISSUE_LIST_BY_SUBSCRIBERS("구독자 순 주제 top 5 조회를 완료하였습니다"),
GET_SUBSCRIBERS_BY_ISSUE("주제별 구독자 수 조회를 완료하였습니다.")
;

private final String message;
;}

0 comments on commit 8939f4d

Please sign in to comment.