Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Jul 28, 2023
1 parent 9211c94 commit 6638861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/record/google-storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GoogleStorageUploadStream extends Writable {

async _addMetadata() {
try {
await this.gcsFile.setMetadata(this.metadata);
await this.gcsFile.setMetadata({metadata: this.metadata});
this.logger.info('Google storage Upload and metadata setting completed.');
} catch (err) {
this.logger.error(err, 'Google storage An error occurred while setting metadata');
Expand Down

0 comments on commit 6638861

Please sign in to comment.