From 14296f6e342e13c9706c1584d7bdbe9c32563157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gon=C3=A7alves?= Date: Fri, 10 Feb 2017 02:12:42 +0000 Subject: [PATCH] Invalid type According to method documentation ( https://developer.spotify.com/web-api/add-tracks-to-playlist/ ) response type is supposed to by SnapshotId just like the sync method is. --- .../main/java/kaaes/spotify/webapi/android/SpotifyService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotify-api/src/main/java/kaaes/spotify/webapi/android/SpotifyService.java b/spotify-api/src/main/java/kaaes/spotify/webapi/android/SpotifyService.java index 5caedb70..d7a7003d 100644 --- a/spotify-api/src/main/java/kaaes/spotify/webapi/android/SpotifyService.java +++ b/spotify-api/src/main/java/kaaes/spotify/webapi/android/SpotifyService.java @@ -370,7 +370,7 @@ public interface SpotifyService { * @see Add Tracks to a Playlist */ @POST("/users/{user_id}/playlists/{playlist_id}/tracks") - void addTracksToPlaylist(@Path("user_id") String userId, @Path("playlist_id") String playlistId, @QueryMap Map queryParameters, @Body Map body, Callback> callback); + void addTracksToPlaylist(@Path("user_id") String userId, @Path("playlist_id") String playlistId, @QueryMap Map queryParameters, @Body Map body, Callback callback); /** * Remove one or more tracks from a user’s playlist.