Explorar o código

Fix catch both 'file_too_large' and 'fileTooLarge' error responses

Lennart Grahl %!s(int64=7) %!d(string=hai) anos
pai
achega
904ce0adfb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/services/webclient.ts

+ 1 - 0
src/services/webclient.ts

@@ -1682,6 +1682,7 @@ export class WebClientService {
                         let errorMessage;
                         switch (error) {
                             case 'file_too_large':
+                            case 'fileTooLarge':
                                 errorMessage = this.$translate.instant('error.FILE_TOO_LARGE_GENERIC');
                                 break;
                             case 'blocked':