summaryrefslogtreecommitdiff
path: root/bucky/app/router.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-10 17:25:32 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-10 17:25:32 +0100
commit3cc9ff370a5e3f5bf321dc56963ae3bc73e75284 (patch)
tree194bcafac19e2cc1a77aaab7303d68aafdbbe312 /bucky/app/router.js
parentd9b9383118302aff6d73856175d7362d8b1463c5 (diff)
posting new threads and comments working
Diffstat (limited to 'bucky/app/router.js')
-rw-r--r--bucky/app/router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/router.js b/bucky/app/router.js
index 134ab1d..bd72a4d 100644
--- a/bucky/app/router.js
+++ b/bucky/app/router.js
@@ -80,7 +80,7 @@ module.exports = function(app){
multer.array("files"),
bucky.verifyFilesOrComment,
bucky.createThread,
-// bucky.createFiles,
+ bucky.createOptionalFiles,
bucky.createOptionalComment,
function(req, res){
res.json(res.thread)