From 8062ba6c592fad1f2451d6127c368467dd95e689 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 16:35:51 +0200 Subject: [PATCH] modified code --- onzer.riot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onzer.riot b/onzer.riot index 6469646..c4baebc 100644 --- a/onzer.riot +++ b/onzer.riot @@ -78,7 +78,7 @@ this.update();*/ }, fetchData(){ - return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/"+this.state.search+"").then(response => { + return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => { return response.json(); }); },