From 9957952d2761b1d2b216a9310339e28f25df9f6c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 7 Sep 2015 14:51:20 -0400 Subject: mailbox api --- lib/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/router.js') diff --git a/lib/router.js b/lib/router.js index e2ba442..5d3dcb5 100644 --- a/lib/router.js +++ b/lib/router.js @@ -116,7 +116,7 @@ module.exports = function(app){ app.get("/api/mailbox/:box", middleware.ensureAuthenticated, - bucky.ensureMailbox, + bucky.ensureMailboxes, bucky.ensureMailboxCounts, bucky.ensureMessages, function(req, res){ -- cgit v1.2.3-70-g09d2