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 e0fd81dd..914ded93 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -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?
}, {