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 cffd5df..30b2273 100644 --- a/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/FavoritesRest.java @@ -3,7 +3,7 @@ import com.example.citrusclient.models.Book; import java.util.HashMap; -import java.util.HashSet; +import java.util.List; import retrofit2.Call; import retrofit2.http.DELETE; @@ -26,7 +26,7 @@ //主{account_id}がいいねした誰か{other_account_id}の本の一覧 @FormUrlEncoded @GET("accounts/{account_id}/favorites/{other_account_id}") - Call> getFavoritesBooksById( + Call> getFavoritesBooksById( @Path("account_id") String accountId, @Path("other_account_id") String otherAccountId, @Query("token") String token @@ -35,7 +35,7 @@ //主{account_id}のある本{book_id}をいいねした人の一覧 @FormUrlEncoded @GET("accounts/{account_id}/books/{book_id}/favorited") - Call> getFavoritedAccount( + Call> getFavoritedAccount( @Path("account_id") String accountId, @Path("book_id") Integer bookId, @Query("token") String token