@adminforth/storage-adapter-local 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -266,7 +266,7 @@ class AdminForthStorageAdapterLocalFilesystem {
266
266
  afLogger.error(`Could not write metadata to db: ${e}`);
267
267
  throw new Error(`Could not write metadata to db: ${e}`);
268
268
  });
269
- this.markKeyForDeletation(key);
269
+ this.markKeyForDeletion(key);
270
270
  res.status(200).send("File uploaded");
271
271
  });
272
272
  }));
package/index.ts CHANGED
@@ -297,7 +297,7 @@ export default class AdminForthStorageAdapterLocalFilesystem implements StorageA
297
297
  throw new Error(`Could not write metadata to db: ${e}`);
298
298
  });
299
299
 
300
- this.markKeyForDeletation(key);
300
+ this.markKeyForDeletion(key);
301
301
 
302
302
  res.status(200).send("File uploaded");
303
303
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/storage-adapter-local",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",