diff --git a/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java b/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java index 5dcacc7..8816ffa 100644 --- a/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java +++ b/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java @@ -147,7 +147,7 @@ return "success"; } - @Path("/{account_id}/books/{book_id}/favoriteCount") + @Path("/{account_id}/books/{book_id}/registerFavoriteCount") @PUT @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public String registerFavoriteCount(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id){ @@ -157,7 +157,7 @@ return "success"; } - @Path("/{account_id}/books/{book_id}/favoriteCount") + @Path("/{account_id}/books/{book_id}/unregisterFavoriteCount") @PUT @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public String unregisterFavoriteCount(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id){