From 001be23d0099244ac5614453c39ba1f84e8c970b Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 27 Jul 2018 14:26:55 -0400 Subject: [PATCH] Add uploaded message --- app/routes/upload.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/routes/upload.js b/app/routes/upload.js index 1da2e23..2ba637a 100644 --- a/app/routes/upload.js +++ b/app/routes/upload.js @@ -62,6 +62,7 @@ router.post('/', requireAuth('file.upload'), fileUpload, wrap(async (req, res) = ]); res.status(200).json({ + message: 'File uploaded.', id: upload.id, url: config.get('Server.hostname') + '/v/' + upload.id });