chore: refactor response error handling

This commit is contained in:
Ramires Viana
2022-05-04 12:11:36 +00:00
parent d1d7b23da6
commit 96afaca0ad
16 changed files with 61 additions and 93 deletions

View File

@@ -130,7 +130,7 @@ export function handleFiles(files, base, overwrite = false) {
path,
file,
overwrite,
...(!file.isDir && { type: detectType(file.type) })
...(!file.isDir && { type: detectType(file.type) }),
};
store.dispatch("upload/upload", item);