File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/main/java/com/kaluzny/web Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 64
64
<plugin >
65
65
<groupId >org.springframework.boot</groupId >
66
66
<artifactId >spring-boot-maven-plugin</artifactId >
67
+ <executions >
68
+ <execution >
69
+ <goals >
70
+ <goal >repackage</goal >
71
+ </goals >
72
+ </execution >
73
+ </executions >
67
74
</plugin >
68
75
</plugins >
69
76
</build >
70
77
71
- </project >
78
+ </project >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public ResponseEntity<Collection<Book>> findBookWithName(@RequestParam(value = "
49
49
@ RequestMapping (
50
50
value = "/{id}" ,
51
51
method = RequestMethod .PUT )
52
- public ResponseEntity <Book > updateUserFromDB (@ PathVariable ("id" ) long id , @ RequestBody Book book ) {
52
+ public ResponseEntity <Book > updateBookFromDB (@ PathVariable ("id" ) long id , @ RequestBody Book book ) {
53
53
54
54
Book currentBook = repository .findOne (id );
55
55
currentBook .setName (book .getName ());
You can’t perform that action at this time.
0 commit comments