mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-14 07:02:30 +01:00
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