From 2e0e835695d36deceb0a41adc04a4026f48c017a Mon Sep 17 00:00:00 2001 From: Barak Amar Date: Tue, 15 Dec 2020 12:33:00 +0200 Subject: [PATCH] bug fix firefox upload error unsupported media type (#1064) --- webui/src/actions/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/src/actions/api.js b/webui/src/actions/api.js index ff51eca2afd..838a82879ff 100644 --- a/webui/src/actions/api.js +++ b/webui/src/actions/api.js @@ -481,7 +481,7 @@ class Objects { const response = await apiRequest(`/repositories/${repoId}/branches/${branchId}/objects?${query}`, { method: 'POST', body: data, - }); + }, {}, {}); if (response.status !== 201) { throw new Error(await extractError(response)); }