Signaturprüfung zur Filterung der Umschlagempfänger hinzugefügt

This commit is contained in:
Developer 02
2024-04-08 16:22:17 +02:00
parent db83eb90ee
commit 2512de0f26
9 changed files with 38 additions and 25 deletions

View File

@@ -74,7 +74,7 @@
* Creates a GET HTTP request to `url`
* @param {any} url
*/
getRequest(url) {
getRequest(url, body) {
const token = this.getCSRFToken()
const options = {
credentials: 'include',
@@ -84,6 +84,10 @@
}
}
if (body !== undefined) {
options.body = JSON.stringify(body);
}
return fetch(url, options)
}