reformateado entity_service
This commit is contained in:
@@ -4,7 +4,7 @@ let baseUrl = `${process.env.REACT_APP_API_SERVER}/api/brainz`;
|
|||||||
|
|
||||||
export async function getArtist(mbid) {
|
export async function getArtist(mbid) {
|
||||||
const url = `${baseUrl}/artist/${mbid}`;
|
const url = `${baseUrl}/artist/${mbid}`;
|
||||||
const response = await axios.get(url);
|
const response = await axios.get(url)
|
||||||
return response.data
|
return response.data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user