Cambios en el servidor provocaron cambios en las vistas

Ya no entrega los coverart directamente, ni tampoco los artistas de los
discos, los cambios son temporales y para provar como funciona todo
This commit is contained in:
Daniel Cortes
2020-06-08 19:21:12 -04:00
parent 747f8bec49
commit 2a2bd31464
5 changed files with 28 additions and 11 deletions

View File

@@ -14,7 +14,6 @@ export async function getArtistDiscs(mbid, page = 1, per_page = 10) {
return response.data
}
export async function getDisc(mbid) {
const url = `${baseUrl}/disc/${mbid}`;
const response = await axios.get(url);
@@ -32,3 +31,9 @@ export async function getReleaseSongs(mbid, page = 1, per_page = 50) {
const response = await axios.get(url);
return response.data
}
export async function getDiscCoverArt(mbid) {
const url = `${baseUrl}/disc/${mbid}/coverart`;
const response = await axios.get(url);
return response.data
}