diff --git a/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java b/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java index ca0335c..6b9f940 100644 --- a/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java +++ b/src/main/java/org/ntlab/citrusserver/resources/BooksRest.java @@ -70,7 +70,7 @@ @Path("/{account_id}/books/{book_id}/title") @PUT @Consumes(MediaType.APPLICATION_FORM_URLENCODED) - public void putTitle(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("title") String title, @QueryParam("token") String token){ + public void putTitle(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("title") String title, @FormParam("token") String token){ bookManager.putTitle(account_id, book_id, title, token); } @@ -87,7 +87,7 @@ @Path("/{account_id}/books/{book_id}/public") @PUT @Consumes(MediaType.APPLICATION_FORM_URLENCODED) - public void putPublicity(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("publicity") Boolean publicity, @QueryParam("token") String token){ + public void putPublicity(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("publicity") Boolean publicity, @FormParam("token") String token){ bookManager.putPublicity(account_id, book_id, publicity, token); } @@ -96,7 +96,7 @@ @Path("/{account_id}/books/{book_id}/color") @PUT @Consumes(MediaType.APPLICATION_FORM_URLENCODED) - public void putColor(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("color") String color, @QueryParam("token") String token){ + public void putColor(@PathParam("account_id") String account_id, @PathParam("book_id") Integer book_id, @FormParam("color") String color, @FormParam("token") String token){ bookManager.putColor(account_id, book_id, color, token); } } \ No newline at end of file