summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/boards.js')
-rw-r--r--models/boards.js2
1 files changed, 1 insertions, 1 deletions
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,