Skip to content

Commit 2322fdf

Browse files
committed
fix: typo in in StorageAdamter method by adding one with the correct name
1 parent 8228f12 commit 2322fdf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adminforth/types/adapters/StorageAdapter.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ export interface StorageAdapter {
3939
* This method should work even if the file does not exist yet (e.g. only presigned URL was generated).
4040
* @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
4141
*/
42-
markKeyForDeletation(key: string): Promise<void>;
42+
markKeyForDeletation(key: string): Promise<void>; //TODO delete after one year
43+
markKeyForDeletion(key: string): Promise<void>;
4344

4445

4546
/**
4647
* This method should mark the file to not be deleted.
4748
* This method should be used to cancel the deletion of the file if it was marked for deletion.
4849
* @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
4950
*/
50-
markKeyForNotDeletation(key: string): Promise<void>;
51+
markKeyForNotDeletation(key: string): Promise<void>; //TODO delete after one year
52+
markKeyForNotDeletion(key: string): Promise<void>;
5153

5254

5355
/**

0 commit comments

Comments
 (0)