From 3d3bd48d22e2765a533330514ad7e7e9aea47183 Mon Sep 17 00:00:00 2001 From: sycuuui <102959791+sycuuui@users.noreply.github.com> Date: Sun, 18 Feb 2024 20:07:16 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=84=A0=EB=B0=9C,=EB=AF=B8=EC=84=A0?= =?UTF-8?q?=EB=B0=9C=20api=EC=97=90=EC=84=9C=20ACCESSToken=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/domain/apply/controller/ApplyController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gongjakso/server/domain/apply/controller/ApplyController.java b/src/main/java/com/gongjakso/server/domain/apply/controller/ApplyController.java index d6a0e8a4..d2e1bc47 100644 --- a/src/main/java/com/gongjakso/server/domain/apply/controller/ApplyController.java +++ b/src/main/java/com/gongjakso/server/domain/apply/controller/ApplyController.java @@ -60,14 +60,14 @@ public ApplicationResponse updateIsRecruitStatus(@AuthenticationPrincipal //지원서 미선발 요청 api @Operation(summary = "미선발 API", description = "미선발 버튼 클릭 시") @PatchMapping("/{apply_id}/not-recruit") - public ApplicationResponse updateNotRecruitStatus(@AuthenticationPrincipal PrincipalDetails principalDetails,@PathVariable("apply_id") Long applyId){ + public ApplicationResponse 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 findApplication(@AuthenticationPrincipal PrincipalDetails principalDetails,@PathVariable("apply_id") Long applyId,@PathVariable("post_id") Long postId){ + public ApplicationResponse findApplication(@PathVariable("apply_id") Long applyId,@PathVariable("post_id") Long postId){ return ApplicationResponse.ok(applyService.findApplication(applyId,postId)); } //공고 카테고리 요청 api