Accept 204 response status as valid
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ const actions = {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
if (response.status === 201) {
|
if (response.status === 201 || response.status === 204) {
|
||||||
commit('DELETE_ACCOUNT', account.id)
|
commit('DELETE_ACCOUNT', account.id)
|
||||||
} else {
|
} else {
|
||||||
failedAccounts.push({ account: account.diisplayName, statusText: response.statusText })
|
failedAccounts.push({ account: account.diisplayName, statusText: response.statusText })
|
||||||
|
|||||||
Reference in New Issue
Block a user