Signaturprüfung zur Filterung der Umschlagempfänger hinzugefügt
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user