Skip to content

Commit

Permalink
update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
RLD-JL committed Aug 19, 2024
1 parent c465916 commit 97abe48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ suspend fun ApiClient.getTracks(
timeRange: String
): PlayListResponse? {
val response: PlayListResponse? =
getResponse("/full/tracks/trending/EJ57D?genre=${category}&limit=${limit}&time=${timeRange}&app_name=$appName")
getResponse("/full/tracks/trending?genre=${category}&limit=${limit}&time=${timeRange}&app_name=$appName")
return response?.let {
val tracks = it.data.filter { it.isStreamable }
PlayListResponse(tracks)
Expand Down

0 comments on commit 97abe48

Please sign in to comment.