summaryrefslogtreecommitdiffstats
path: root/server/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/utils.js')
-rw-r--r--server/lib/utils.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/lib/utils.js b/server/lib/utils.js
index c155cda5..ee925847 100644
--- a/server/lib/utils.js
+++ b/server/lib/utils.js
@@ -1,9 +1,9 @@
allowIsBoardAdmin = function(userId, board) {
- return board && board.hasAdmin(userId);
+ return board && board.hasAdmin(userId);
};
allowIsBoardMember = function(userId, board) {
- return board && board.hasMember(userId);
+ return board && board.hasMember(userId);
};
allowIsBoardMemberCommentOnly = function(userId, board) {
@@ -15,6 +15,6 @@ allowIsBoardMemberNoComments = function(userId, board) {
};
allowIsBoardMemberByCard = function(userId, card) {
- const board = card.board();
- return board && board.hasMember(userId);
+ const board = card.board();
+ return board && board.hasMember(userId);
};