summaryrefslogtreecommitdiffstats
path: root/models/triggers.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-09-16 01:50:36 +0300
committerLauri Ojansivu <x@xet7.org>2018-09-16 01:50:36 +0300
commitdf84a2be9adb2eeee25141588a80d4523d38675d (patch)
treed7defe25d43e41a76d9d11461cbc539ad01598c2 /models/triggers.js
parentb3a752ef34cb1cd324f7e2b55bebef81fb2281c3 (diff)
downloadwekan-df84a2be9adb2eeee25141588a80d4523d38675d.tar.gz
wekan-df84a2be9adb2eeee25141588a80d4523d38675d.tar.bz2
wekan-df84a2be9adb2eeee25141588a80d4523d38675d.zip
Fix lint errors.
Diffstat (limited to 'models/triggers.js')
-rw-r--r--models/triggers.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/models/triggers.js b/models/triggers.js
index c8e4cc75..15982b6e 100644
--- a/models/triggers.js
+++ b/models/triggers.js
@@ -4,8 +4,8 @@ Triggers.mutations({
rename(description) {
return {
$set: {
- description
- }
+ description,
+ },
};
},
});
@@ -19,7 +19,7 @@ Triggers.allow({
},
remove(userId, doc) {
return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId));
- }
+ },
});
Triggers.helpers({
@@ -30,7 +30,7 @@ Triggers.helpers({
getRule() {
return Rules.findOne({
- triggerId: this._id
+ triggerId: this._id,
});
},
@@ -44,7 +44,7 @@ Triggers.helpers({
findList(title) {
return Lists.findOne({
- title: title
+ title,
});
},
@@ -54,5 +54,5 @@ Triggers.helpers({
return _.contains(this.labelIds, label._id);
});
return cardLabels;
- }
-}); \ No newline at end of file
+ },
+});