fix of the json upload format
This commit is contained in:
@@ -168,7 +168,8 @@
|
|||||||
try {
|
try {
|
||||||
const response = await fetch('/upload_csv_batch', {
|
const response = await fetch('/upload_csv_batch', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: formData
|
body: formData,
|
||||||
|
credentials: 'include'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Antwort einmalig als Text auslesen, um sowohl JSON als auch HTML-Fehler abzufangen
|
// Antwort einmalig als Text auslesen, um sowohl JSON als auch HTML-Fehler abzufangen
|
||||||
|
|||||||
Reference in New Issue
Block a user