Skip to content

Commit

Permalink
Merge pull request #75 from Gongjakso/feat/apply
Browse files Browse the repository at this point in the history
fix : 선발,미선발 api에서 ACCESSToken 요청 삭제
  • Loading branch information
sycuuui authored Feb 18, 2024
2 parents d7c9511 + 3d3bd48 commit 9938c45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ public ApplicationResponse<Void> updateIsRecruitStatus(@AuthenticationPrincipal
//지원서 미선발 요청 api
@Operation(summary = "미선발 API", description = "미선발 버튼 클릭 시")
@PatchMapping("/{apply_id}/not-recruit")
public ApplicationResponse<Void> updateNotRecruitStatus(@AuthenticationPrincipal PrincipalDetails principalDetails,@PathVariable("apply_id") Long applyId){
public ApplicationResponse<Void> updateNotRecruitStatus(@PathVariable("apply_id") Long applyId){
applyService.updateRecruit(applyId,false);
return ApplicationResponse.ok();
}
// 특정 지원자 지원서 가져오는 api
@Operation(summary = "지원서 API", description = "내가 모집 중인 팀 페이지에서 지원자 지원서 요청")
@GetMapping("/{post_id}/{apply_id}/application")
public ApplicationResponse<ApplicationRes> findApplication(@AuthenticationPrincipal PrincipalDetails principalDetails,@PathVariable("apply_id") Long applyId,@PathVariable("post_id") Long postId){
public ApplicationResponse<ApplicationRes> findApplication(@PathVariable("apply_id") Long applyId,@PathVariable("post_id") Long postId){
return ApplicationResponse.ok(applyService.findApplication(applyId,postId));
}
//공고 카테고리 요청 api
Expand Down

0 comments on commit 9938c45

Please sign in to comment.