From 5fa91c4a1d7210415b9d19ccd8bfee3b13283b89 Mon Sep 17 00:00:00 2001 From: Lukas Hirt Date: Wed, 9 Sep 2020 13:53:49 +0200 Subject: [PATCH] Accept 204 response status as valid --- ui/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/store/index.js b/ui/store/index.js index ff797b160..b5e6e3261 100644 --- a/ui/store/index.js +++ b/ui/store/index.js @@ -223,7 +223,7 @@ const actions = { } }) - if (response.status === 201) { + if (response.status === 201 || response.status === 204) { commit('DELETE_ACCOUNT', account.id) } else { failedAccounts.push({ account: account.diisplayName, statusText: response.statusText })