Skip to content

Commit

Permalink
Refactored ShiftController
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudarvishian committed May 10, 2024
1 parent 70f9050 commit 6f7ad71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void cancelShift(@PathVariable("id") UUID shiftId, @RequestBody @Valid Sh
jobService.cancelShift(dto.companyId, shiftId);
}

@DeleteMapping(path = "/cancel-talent")
@PatchMapping(path = "/cancel-talent")
@ResponseStatus(code = HttpStatus.NO_CONTENT)
public void cancelShiftForTalent(@RequestBody @Valid ShiftController.CancelShiftForTalentRequestDto dto) {
jobService.cancelShiftForTalent(dto.companyId, dto.talentId);
Expand Down

0 comments on commit 6f7ad71

Please sign in to comment.