Skip to content

Commit

Permalink
hotfix : 관리자 userId 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lreowy committed Jul 19, 2024
1 parent f697ae7 commit 1449e86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ApiResponseDto<List<SubmitterListGetResponse>> getSubmitterList(@UserId f
@PatchMapping("/v1/submitter/{submitterId}")
public ApiResponseDto approveSubmitter(@PathVariable("submitterId") final Long submitterId,
@UserId final Long userId) {
if (userId == 3 || userId == 4) {
if (userId == 1 || userId == 2) {
submitterCommandService.approveSubmitter(submitterId);
return ApiResponseDto.success(SuccessCode.HOST_SUBMITTER_APPROVE_SUCCESS);
} else {
Expand Down

0 comments on commit 1449e86

Please sign in to comment.