Una vista de "Populares" en Main, mas que nada para figurar
This commit is contained in:
@@ -38,6 +38,13 @@ export async function getReleaseSongs(mbid) {
|
||||
return response.data
|
||||
}
|
||||
|
||||
export async function getSong(mbid) {
|
||||
const url = `${baseUrl}/recording/${mbid}`;
|
||||
const response = await axios.get(url);
|
||||
console.log(response.data);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
export async function getDiscCoverArt(mbid) {
|
||||
const url = `${baseUrl}/disc/${mbid}/coverart`;
|
||||
const response = await axios.get(url);
|
||||
|
||||
Reference in New Issue
Block a user