Skip to content

Commit

Permalink
Fix [#21] Resume 공개범위 수정 API Http Status Code 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
geniusYoo committed May 22, 2024
1 parent b1eb646 commit e3fa85e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ public ResponseEntity<SuccessResponse<ResumeSearchResponse>> findResumeById(@Pat
}

@PatchMapping("/resumes/{resumeId}")
public ResponseEntity<SuccessResponse> updateIsPrivate(
public ResponseEntity<SuccessResponse<Void>> updateIsPrivate(
@PathVariable Long resumeId,
@RequestBody ResumePrivateRequest request
) {
resumeService.updateResumePrivate(resumeId, request);
return ResponseEntity.status(HttpStatus.NO_CONTENT)
return ResponseEntity.status(HttpStatus.OK)
.body(SuccessResponse.of(SuccessMessage.RESUME_PRIVATE_CHANGE_COMPLETED_SUCCESS));
}
}

0 comments on commit e3fa85e

Please sign in to comment.