Changed /api/user/boards to only check if the user is logged in

This commit is contained in:
mayjs 2017-05-15 19:20:37 +02:00
parent 158f19b67c
commit 452901d3b1

View file

@ -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,