aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/uploads/chunksPOST.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-10-12 14:37:09 +0900
committerPitu <[email protected]>2019-10-12 14:37:09 +0900
commitc121bd42f38cc3bd47b68efd8cf70da158cbdf8d (patch)
tree373833e4217d693036490b4b4e23b1e5fa4b227c /src/api/routes/uploads/chunksPOST.js
parentchore: prepare for filepond (diff)
downloadhost.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.js2
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
/*