Skip to content

Commit

Permalink
refactor : 해커톤 수정 patch메소드로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
seulgi99 committed Jul 2, 2024
1 parent 4a24756 commit 00709a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import likelion.univ.utils.AuthenticatedUserUtils;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
Expand Down Expand Up @@ -70,7 +70,7 @@ public SuccessResponse<HackathonFormFindResponse> find(
}

@Operation(summary = "해커톤 신청 수정")
@PutMapping("/{hackathonFormId}")
@PatchMapping("/{hackathonFormId}")
public SuccessResponse<Long> modify(
@Valid @RequestBody HackathonModifyRequest request,
@PathVariable("hackathonFormId") Long hackathonFormId
Expand Down

0 comments on commit 00709a0

Please sign in to comment.