This commit is contained in:
Matthis FAUVET 2024-06-24 22:51:04 +02:00
parent 78aa5763d5
commit 9570e3d1ae

View File

@ -80,6 +80,7 @@
this.song_style = "isDeactivate";
},
execQuery(table, filter = undefined, id = undefined){
console.log("CCACA");
let baseHttpRequest = "https://dwarves.iut-fbleau.fr/~fauvet/api/"
let computeHttpRequest;
if(filter !== undefined){
@ -95,7 +96,6 @@
} else {
computeHttpRequest = baseHttpRequest+table;
}
console.log(computeHttpRequest);
return fetch(computeHttpRequest).then(response => {
return response.json();
});