|
@@ -52,7 +52,7 @@ public class AlbumController {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(value = "/update", method = RequestMethod.PUT)
|
|
|
+ @RequestMapping( method = RequestMethod.PUT)
|
|
|
public void Update(HttpServletRequest request, HttpServletResponse response, @RequestBody Album album){
|
|
|
Album albumOld = albumService.GetOne(album.getId());
|
|
|
if(albumOld==null){
|