Skip to content

Commit

Permalink
Fix undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglongMa committed May 14, 2021
1 parent 660ef88 commit 18b2ecf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ module.exports = function SkipperGCS(globalOpts) {
// console.log('ERROR ON incoming readable file stream in Skipper Google Cloud Storage adapter (%s) ::', incomingFileStream.filename, unusedErr);
});//œ

options.metadata = options.metadata || {};
options.metadata.contentType = mime.getType(incomingFd);

// The default `upload` implements a unique filename by combining:
Expand Down

0 comments on commit 18b2ecf

Please sign in to comment.