From 8c01b15f3c3b7edc1e05bb717b0d7c54b23be489 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Mon, 30 Sep 2024 11:57:21 +0200 Subject: [PATCH] remove incorrect header: newer versions of werkzeug complain about this, was previously ignored --- frontend/src/utils/api-client.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/utils/api-client.ts b/frontend/src/utils/api-client.ts index 4fa3911..383c5d8 100644 --- a/frontend/src/utils/api-client.ts +++ b/frontend/src/utils/api-client.ts @@ -23,9 +23,6 @@ function download_file_from_endpoint( ) { apiClient .post(endpoint, json, { - headers: { - "Content-Type": "multipart/form-data", - }, responseType: "blob", }) .then((response) => {