Skip to content

Commit 3c6174b

Browse files
committed
add fetch my followers/favorite tracks
1 parent 697d13a commit 3c6174b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

soundcloud-api@/src/main/java/com/vpaliy/soundcloud/Endpoints.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public interface Endpoints {
4141
String ME_DEVICES = "me/devices";
4242
String ME_FAVORITE_TRACK = "me/favorites/{id}";
4343
String ME_FOLLOW = "me/followings/{id}";
44-
String ME_FAVORITE_TRACKS = "me/favorites";
45-
String ME_FOLLOWERS = "me/followings";
44+
String ME_FAVORITE_TRACKS = "me/favorites";
45+
String ME_FOLLOWERS = "me/followings";
4646

4747
String SUGGESTED_USERS = "users/suggested";
4848

soundcloud-api@/src/main/java/com/vpaliy/soundcloud/SoundCloudService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public interface SoundCloudService {
119119
Single<List<ConnectionEntity>> fetchMyConnections();
120120

121121
@GET(Endpoints.ME_FOLLOWERS)
122-
Single<List<UserEntity>> fetchMyFollowings();
122+
Single<Page<UserEntity>> fetchMyFollowings();
123123

124124
@GET(Endpoints.ME_FAVORITE_TRACKS)
125125
Single<List<TrackEntity>> fetchMyFavoriteTracks();

0 commit comments

Comments
 (0)