summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/FileServerService.ts
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2023-02-17 02:56:59 +0100
committerGitHub <noreply@github.com>2023-02-17 10:56:59 +0900
commit8f9ce23e521d15ff1d7796d637d5bd64d9ee4375 (patch)
treecda35537b3031f940c509e6b13d493f00070303a /packages/backend/src/server/FileServerService.ts
parentstyle(frontend): fix autofixable eslint errors (#9968) (diff)
downloadsharkey-8f9ce23e521d15ff1d7796d637d5bd64d9ee4375.tar.gz
sharkey-8f9ce23e521d15ff1d7796d637d5bd64d9ee4375.tar.bz2
sharkey-8f9ce23e521d15ff1d7796d637d5bd64d9ee4375.zip
style(backend): fix all eslint errors (#9967)
Diffstat (limited to 'packages/backend/src/server/FileServerService.ts')
-rw-r--r--packages/backend/src/server/FileServerService.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/backend/src/server/FileServerService.ts b/packages/backend/src/server/FileServerService.ts
index f4bc568fdc..c12ae9b824 100644
--- a/packages/backend/src/server/FileServerService.ts
+++ b/packages/backend/src/server/FileServerService.ts
@@ -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,
- }
+ };
}
}