Skip to content

Commit

Permalink
#220: typo in import name
Browse files Browse the repository at this point in the history
  • Loading branch information
basmasking committed May 10, 2024
1 parent b935b71 commit d8caa66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/domain/image/files/exists.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import filestorage from '^/integrations/filestorage/module';
import fileStorage from '^/integrations/filestorage/module';

export default async function exists(storageKey: string): Promise<boolean>
{
return filestorage.hasFile(storageKey);
return fileStorage.hasFile(storageKey);
}
6 changes: 3 additions & 3 deletions src/domain/image/files/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import filestorage from '^/integrations/filestorage/module';
import fileStorage from '^/integrations/filestorage/module';

export default async function get(storagekey: string): Promise<Buffer>
export default async function get(storageKey: string): Promise<Buffer>
{
return filestorage.readFile(storagekey);
return fileStorage.readFile(storageKey);
}

0 comments on commit d8caa66

Please sign in to comment.