mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-17 13:31:52 +00:00
0.0.32 Flesh out track page
This commit is contained in:
parent
d7b7ceb122
commit
9074149925
17 changed files with 216 additions and 48 deletions
|
@ -354,4 +354,13 @@ export const getTopArtists = (uuid) => {
|
|||
}).catch((error) => {
|
||||
return handleErrorResp(error)
|
||||
});
|
||||
}
|
||||
|
||||
export const getTopUsersForTrack = (uuid) => {
|
||||
return axios.get(process.env.REACT_APP_API_URL + "/api/v1/tracks/" + uuid + "/top").then(
|
||||
(data) => {
|
||||
return data.data;
|
||||
}).catch((error) => {
|
||||
return handleErrorResp(error)
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue