From 74e2471b1e63bf1a9fc83291e4d195573068f27b Mon Sep 17 00:00:00 2001 From: Barak Amar Date: Tue, 15 Dec 2020 11:43:01 +0200 Subject: [PATCH] fix post upload headers --- 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)); }