We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 862937f + c88c538 commit 421ef2dCopy full SHA for 421ef2d
src/main/java/io/pillopl/library/lending/patronprofile/web/PatronProfileController.java
@@ -53,8 +53,8 @@ class PatronProfileController {
53
private final CancelingHold cancelingHold;
54
55
@GetMapping("/profiles/{patronId}")
56
- ResponseEntity<EntityModel<ProfileResource>> patronProfile(@PathVariable UUID patronId) {
57
- return ok(new EntityModel<>(new ProfileResource(patronId)));
+ ResponseEntity<ProfileResource> patronProfile(@PathVariable UUID patronId) {
+ return ok(new ProfileResource(patronId));
58
}
59
60
@GetMapping("/profiles/{patronId}/holds/")
0 commit comments