Skip to content

Commit

Permalink
fix: changes route to /{volunteerId}/contracts/{contractId)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-urner committed Jul 6, 2024
1 parent 70cba3e commit 620093c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public List<ContractModification> getAllContractModsFromVolo(@PathVariable int v
return contractService.findModifications(volunteerId, contractId);
}

@PatchMapping("/{volunteerId}/contracts/{contractId}/sickdays")
@PatchMapping("/{volunteerId}/contracts/{contractId}")
public Contract patchContractSickDays(@PathVariable int volunteerId, @PathVariable int contractId,
@RequestBody Map<String, Object> fields) {
return contractService.setSickDays(volunteerId, contractId, fields);
Expand Down

0 comments on commit 620093c

Please sign in to comment.