Skip to content
Snippets Groups Projects
Commit 39f57dfa authored by suhyeon's avatar suhyeon
Browse files

Add delete Favorite update

parent 456f6767
Branches
No related tags found
No related merge requests found
......@@ -54,7 +54,6 @@ public class MyWebController {
}
@DeleteMapping(value="/likes/{id}")
@Transactional
public int deleteById(@PathVariable String id) {
return service.deleteFavorite(id);
}
......
......@@ -73,11 +73,9 @@ public class MusicService {
try {
albumsRepo.deleteById(id);
return 1;
} catch (Exception e) {
System.out.println(e.toString());
return 0;
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment