Skip to content

Commit

Permalink
[hotfix] 관리자계정 userId 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
bo-ram-bo-ram authored Aug 11, 2024
1 parent 5e958cc commit 38a3874
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ApiResponseDto postSubmitter(@GuestId final Long guestId,

@GetMapping("/v1/submitter-list")
public ApiResponseDto<List<SubmitterListGetResponse>> getSubmitterList(@UserId final Long userId) {
if (userId == 3 || userId == 4) {
if (userId == 1 || userId == 2) {
return ApiResponseDto.success(SuccessCode.SUBMITTER_LIST_GET_SUCCESS,
submitterQueryService.getSubmitterList());
} else {
Expand All @@ -55,4 +55,4 @@ public ApiResponseDto approveSubmitter(@PathVariable("submitterId") final Long s
return ApiResponseDto.fail(ErrorCode.NOT_ADMIN);
}
}
}
}

0 comments on commit 38a3874

Please sign in to comment.