File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 66import retrofit2 .Call ;
77import retrofit2 .http .GET ;
88import retrofit2 .http .Header ;
9+ import retrofit2 .http .Path ;
910import retrofit2 .http .Query ;
1011
1112public interface showInterface {
@@ -14,9 +15,9 @@ public interface showInterface {
1415 Call <BaseShow > getMultipleShows (@ Header ("Authorization" ) String auth , @ Query ("ids" ) String ids );
1516
1617 @ GET ("https://api.spotify.com/v1/shows/{id}" )
17- Call <Show > getASpecificShow (@ Header ("Authorization" ) String auth , @ Query ("id" ) String showId );
18+ Call <Show > getASpecificShow (@ Header ("Authorization" ) String auth , @ Path ("id" ) String showId );
1819
1920 @ GET ("https://api.spotify.com/v1/shows/{id}/episodes" )
20- Call <BaseEpisode > getAShowsEpisodes (@ Header ("Authorization" ) String auth , @ Query ("id" ) String showId );
21+ Call <BaseEpisode > getAShowsEpisodes (@ Header ("Authorization" ) String auth , @ Path ("id" ) String showId );
2122
2223}
You can’t perform that action at this time.
0 commit comments