diff --git a/src/domain/image/files/exists.ts b/src/domain/image/files/exists.ts index 587896eb..9425fa15 100644 --- a/src/domain/image/files/exists.ts +++ b/src/domain/image/files/exists.ts @@ -1,7 +1,7 @@ -import filestorage from '^/integrations/filestorage/module'; +import fileStorage from '^/integrations/filestorage/module'; export default async function exists(storageKey: string): Promise { - return filestorage.hasFile(storageKey); + return fileStorage.hasFile(storageKey); } diff --git a/src/domain/image/files/get.ts b/src/domain/image/files/get.ts index 46289ee3..a7ca580f 100644 --- a/src/domain/image/files/get.ts +++ b/src/domain/image/files/get.ts @@ -1,7 +1,7 @@ -import filestorage from '^/integrations/filestorage/module'; +import fileStorage from '^/integrations/filestorage/module'; -export default async function get(storagekey: string): Promise +export default async function get(storageKey: string): Promise { - return filestorage.readFile(storagekey); + return fileStorage.readFile(storageKey); }