0.0.32 Flesh out track page

This commit is contained in:
Daniel Mason 2021-08-13 21:37:53 +12:00
parent d7b7ceb122
commit 9074149925
Signed by: idanoo
GPG key ID: 387387CDBC02F132
17 changed files with 216 additions and 48 deletions

View file

@ -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)
});
}