mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-07-24 13:02:16 +00:00
add metadata to google storage
This commit is contained in:
@@ -13,8 +13,8 @@ class GoogleStorageUploadStream extends Writable {
|
||||
metadata: opts.metadata
|
||||
});
|
||||
|
||||
this.writeStream.on('error', (err) => console.error(err));
|
||||
this.writeStream.on('finish', () => console.log('Upload completed.'));
|
||||
this.writeStream.on('error', (err) => this.logger.error(err));
|
||||
this.writeStream.on('finish', () => this.logger.log('Upload completed.'));
|
||||
}
|
||||
|
||||
_write(chunk, encoding, callback) {
|
||||
|
||||
Reference in New Issue
Block a user