@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 +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
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.
|
|
300
|
+
this.markKeyForDeletion(key);
|
|
301
301
|
|
|
302
302
|
res.status(200).send("File uploaded");
|
|
303
303
|
});
|