This commit is contained in:
Viktoria committed 2022-08-30 18:11:22 +02:00
1 parent 00b019bb82
commit 10a8502491
1 file changed
+1 -1
@@ -40,7 +40,7 @@ public class ProjectController {
return ResponseEntity.ok().body(modelMapper.map(project, ProjectDto.class));
}
@PatchMapping("/{projectId}")
@PutMapping("/{projectId}")
public ResponseEntity<Object> editProject(@Valid @RequestBody ProjectRequest projectRequest,
@PathVariable("projectId") Long projectId,
BindingResult bindingResult,