From 84ff2241ba81fc6a1a2201074d30f971dad8a0de Mon Sep 17 00:00:00 2001 From: Pitu Date: Wed, 18 Jan 2017 02:40:14 -0300 Subject: Shit ton of things on this update --- routes/api.js | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/api.js b/routes/api.js index ca9c7c0..523af72 100644 --- a/routes/api.js +++ b/routes/api.js @@ -14,6 +14,7 @@ routes.get ('/check', (req, res, next) => { routes.get ('/uploads', (req, res, next) => uploadController.list(req, res)) routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next)) routes.get ('/albums', (req, res, next) => albumsController.list(req, res, next)) +routes.post ('/albums', (req, res, next) => albumsController.create(req, res, next)) routes.get ('/albums/test', (req, res, next) => albumsController.test(req, res, next)) routes.get ('/token/verify', (req, res, next) => tokenController.verify(req, res)) -- cgit v1.2.3