Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion functions/http/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ exports.uploadFile = (req, res) => {
file.on('end', () => {
writeStream.end();
});
writeStream.on('finish', resolve);
writeStream.on('close', resolve);
writeStream.on('error', reject);
});
fileWrites.push(promise);
Expand Down
2 changes: 1 addition & 1 deletion functions/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@google-cloud/storage": "^6.0.0",
"busboy": "^1.0.0",
"busboy": "^1.6.0",
"escape-html": "^1.0.3"
}
}