DisabledMimetypes.php validation rule fix

This commit is contained in:
Peter Papp
2021-04-11 10:46:07 +02:00
parent 1568eab905
commit 3e18dbd4f9
6 changed files with 45 additions and 57 deletions

View File

@@ -182,7 +182,7 @@ const Helpers = {
this.$isSomethingWrong()
// Break uploading process
if ([500, 415].includes(error.response.status))
if ([500, 422].includes(error.response.status))
isNotGeneralError = false
})
} while (isNotGeneralError && attempts !== 0 && attempts !== 3)