mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-30 07:55:19 -04:00
Accept 204 response status as valid
This commit is contained in:
1 parent
ebbf1c8262
commit
5fa91c4a1d
1 file changed
+1
-1
+1
-1
@@ -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 })
|
||||
|
||||
Reference in new issue
Block a user