style(backend): fix all eslint errors (#9967)

This commit is contained in:
Kagami Sascha Rosylight
2023-02-17 02:56:59 +01:00
committed by GitHub
parent 7c5fc2c423
commit 8f9ce23e52
9 changed files with 11 additions and 12 deletions

View File

@@ -395,7 +395,7 @@ export class FileServerService {
state: 'remote',
mime, ext,
path, cleanup,
}
};
} catch (e) {
cleanup();
throw e;
@@ -429,7 +429,7 @@ export class FileServerService {
url: file.uri,
fileRole: isThumbnail ? 'thumbnail' : isWebpublic ? 'webpublic' : 'original',
file,
}
};
}
const path = this.internalStorageService.resolvePath(key);
@@ -452,6 +452,6 @@ export class FileServerService {
mime: file.type,
ext: null,
path,
}
};
}
}