diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 81ffe38..5f96764 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartbucket', - version: '3.0.12', + version: '3.0.13', description: 'A TypeScript library offering simple and cloud-agnostic object storage with advanced features like bucket creation, file and directory management, and data streaming.' } diff --git a/ts/classes.bucket.ts b/ts/classes.bucket.ts index 83e6d72..a84a16b 100644 --- a/ts/classes.bucket.ts +++ b/ts/classes.bucket.ts @@ -241,12 +241,7 @@ export class Bucket { optionsArg.path, streamIntake, null, - ...(optionsArg.nativeMetadata - ? (() => { - const returnObject: any = {}; - return returnObject; - })() - : {}) + null, // TODO: Add support for custom metadata once proper support is in minio. ); console.log(`Object '${optionsArg.path}' has been successfully stored in bucket '${this.name}'.`);