|
|
@@ -104,6 +104,7 @@ class ItemsController( |
|
|
return itemsService.getItem(id) |
|
|
return itemsService.getItem(id) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/new") |
|
|
@PostMapping("/new") |
|
|
fun saveItem(@Valid @RequestBody newItem: NewItemRequest): MessageResponse { |
|
|
fun saveItem(@Valid @RequestBody newItem: NewItemRequest): MessageResponse { |
|
|
println("`````TESTING`````") |
|
|
println("`````TESTING`````") |
|
|
|