summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-07 04:55:33 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-07 04:57:51 +0200
commitd6e36ed50a2d5bfe601432aafa12eb0dca1b5b01 (patch)
tree197255a1a783396a629385a178b65ea0310588cf
parent83f7fa768d67dc3386287cd70ea178b6b5374e72 (diff)
downloadwekan-d6e36ed50a2d5bfe601432aafa12eb0dca1b5b01.tar.gz
wekan-d6e36ed50a2d5bfe601432aafa12eb0dca1b5b01.tar.bz2
wekan-d6e36ed50a2d5bfe601432aafa12eb0dca1b5b01.zip
- Fix: IFTTT Rule "Remove all members from the card" doesn't work.
Thanks to BurakTuran9 ! Related #1972
-rw-r--r--server/rulesHelper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/rulesHelper.js b/server/rulesHelper.js
index 833092d0..81e6b74f 100644
--- a/server/rulesHelper.js
+++ b/server/rulesHelper.js
@@ -98,7 +98,7 @@ RulesHelper = {
card.assignMember(memberId);
}
if(action.actionType === 'removeMember'){
- if(action.memberName === '*'){
+ if(action.username === '*'){
const members = card.members;
for(let i = 0; i< members.length; i++){
card.unassignMember(members[i]);