let -> const

This commit is contained in:
mayjs 2017-05-15 18:45:24 +02:00
parent fa928956c2
commit 158f19b67c
2 changed files with 2 additions and 2 deletions

View file

@ -560,7 +560,7 @@ if (Meteor.isServer) {
// TODO: This should be changed to be less restrictive!
Authentication.checkUserId(req.userId);
let data = Boards.find({
const data = Boards.find({
archived: false,
'members.userId': req.userId, // TODO: How does the current authentication system work? Can we rely on req.userId to be correct?
}, {