diff --git a/app/src/main/java/com/example/citrusclient/rest/BooksRest.java b/app/src/main/java/com/example/citrusclient/rest/BooksRest.java index 0119071..b4500c9 100644 --- a/app/src/main/java/com/example/citrusclient/rest/BooksRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/BooksRest.java @@ -95,13 +95,13 @@ @Field("token") String token ); - @PUT("/{account_id}/books/{book_id}/registerFavoriteCount") + @PUT("accounts/{account_id}/books/{book_id}/registerFavoriteCount") Call registerFavoriteCount( @Path("account_id") String account_id, @Path("book_id") Integer book_id ); - @PUT("/{account_id}/books/{book_id}/unregisterFavoriteCount") + @PUT("accounts/{account_id}/books/{book_id}/unregisterFavoriteCount") Call unregisterFavoriteCount( @Path("account_id") String account_id, @Path("book_id") Integer book_id