modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 01:41:21 +02:00
parent 0ee3b9fdd1
commit 30c8522de9

View File

@ -54,7 +54,7 @@
}, },
async fetchSong(){ async fetchSong(){
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => { return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => {
console.log(response.json()); return response;
}); });
} }