This commit is contained in:
a-ill
2023-07-21 17:38:02 +03:00
parent fb705bab7c
commit ccd97c1095
12 changed files with 121 additions and 19 deletions

View File

@@ -35,6 +35,7 @@ export function sendData(route,data,callback) {
callback(xhr.responseText)
}
} else {
callback(false)
console.log("Request gave an error")
// Oh no! There has been an error with the request!
}
@@ -57,6 +58,7 @@ export function sendText(route,data,callback) {
}
} else {
callback(false)
console.log("Request gave an error")
// Oh no! There has been an error with the request!
}
}