small storage fix (#858)
This commit is contained in:
parent
9bfdf86bec
commit
beccd80902
@ -52,6 +52,8 @@ module.exports = async function(ws, req) {
|
|||||||
.pipe(parser);
|
.pipe(parser);
|
||||||
storage.set(newId, fileStream, meta);
|
storage.set(newId, fileStream, meta);
|
||||||
|
|
||||||
|
await parser.promise;
|
||||||
|
|
||||||
ws.send(
|
ws.send(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
url,
|
url,
|
||||||
|
Loading…
Reference in New Issue
Block a user