diff --git a/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java b/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java index 4848018..cffd5df 100644 --- a/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java @@ -1,5 +1,7 @@ package com.example.citrusclient.rest; +import com.example.citrusclient.models.Book; + import java.util.HashMap; import java.util.HashSet; @@ -14,9 +16,9 @@ public interface FavoritesRest { //主{account_id}がいいねした本の一覧 - @FormUrlEncoded + @GET("accounts/{account_id}/favorites") - Call>> getFavoritesBooks( + Call>> getFavoritesBooks( @Path("account_id") String accountId, @Query("token") String token );