add log
This commit is contained in:
parent
78aa5763d5
commit
9570e3d1ae
@ -80,6 +80,7 @@
|
|||||||
this.song_style = "isDeactivate";
|
this.song_style = "isDeactivate";
|
||||||
},
|
},
|
||||||
execQuery(table, filter = undefined, id = undefined){
|
execQuery(table, filter = undefined, id = undefined){
|
||||||
|
console.log("CCACA");
|
||||||
let baseHttpRequest = "https://dwarves.iut-fbleau.fr/~fauvet/api/"
|
let baseHttpRequest = "https://dwarves.iut-fbleau.fr/~fauvet/api/"
|
||||||
let computeHttpRequest;
|
let computeHttpRequest;
|
||||||
if(filter !== undefined){
|
if(filter !== undefined){
|
||||||
@ -95,7 +96,6 @@
|
|||||||
} else {
|
} else {
|
||||||
computeHttpRequest = baseHttpRequest+table;
|
computeHttpRequest = baseHttpRequest+table;
|
||||||
}
|
}
|
||||||
console.log(computeHttpRequest);
|
|
||||||
return fetch(computeHttpRequest).then(response => {
|
return fetch(computeHttpRequest).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user