diff options
| author | Pitu <[email protected]> | 2019-10-12 14:37:09 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-10-12 14:37:09 +0900 |
| commit | c121bd42f38cc3bd47b68efd8cf70da158cbdf8d (patch) | |
| tree | 373833e4217d693036490b4b4e23b1e5fa4b227c /src/api/routes/uploads/chunksPOST.js | |
| parent | chore: prepare for filepond (diff) | |
| download | host.fuwn.me-c121bd42f38cc3bd47b68efd8cf70da158cbdf8d.tar.xz host.fuwn.me-c121bd42f38cc3bd47b68efd8cf70da158cbdf8d.zip | |
chore: upload fixes
Diffstat (limited to 'src/api/routes/uploads/chunksPOST.js')
| -rw-r--r-- | src/api/routes/uploads/chunksPOST.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/uploads/chunksPOST.js b/src/api/routes/uploads/chunksPOST.js index 075b4cd..1c02bc7 100644 --- a/src/api/routes/uploads/chunksPOST.js +++ b/src/api/routes/uploads/chunksPOST.js @@ -60,7 +60,7 @@ class uploadPOST extends Route { await jetpack.removeAsync(chunkOutput); } - return res.send(201, { + return res.status(201).send({ message: 'Sucessfully merged the chunk(s).', ...info /* |