From 452901d3b1578da35ba6c1caa50a640a9fcfccf7 Mon Sep 17 00:00:00 2001 From: mayjs Date: Mon, 15 May 2017 19:20:37 +0200 Subject: Changed /api/user/boards to only check if the user is logged in --- models/boards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/boards.js b/models/boards.js index 914ded93..5df34215 100644 --- a/models/boards.js +++ b/models/boards.js @@ -558,7 +558,7 @@ if (Meteor.isServer) { if (Meteor.isServer) { JsonRoutes.add('GET', '/api/user/boards', function (req, res, next) { // TODO: This should be changed to be less restrictive! - Authentication.checkUserId(req.userId); + Authentication.checkLoggedIn(req.userId); const data = Boards.find({ archived: false, -- cgit v1.2.3-1-g7c22