small storage fix (#858)

This commit is contained in:
Emily Hou 2018-06-25 11:52:29 -07:00 committed by GitHub
parent 9bfdf86bec
commit beccd80902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,8 @@ module.exports = async function(ws, req) {
.pipe(parser);
storage.set(newId, fileStream, meta);
await parser.promise;
ws.send(
JSON.stringify({
url,