diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-04-22 21:00:31 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-04-22 21:00:31 +0300 |
commit | 9e95c06415e614e587d684ff9660cc53c5f8c8d3 (patch) | |
tree | 6ae4347dd76a814e58b86b3bd062ed68c7c3c4c0 /models/trelloCreator.js | |
parent | e7603298d7a67c928bb20d26d57268b2c0b715d3 (diff) | |
download | wekan-9e95c06415e614e587d684ff9660cc53c5f8c8d3.tar.gz wekan-9e95c06415e614e587d684ff9660cc53c5f8c8d3.tar.bz2 wekan-9e95c06415e614e587d684ff9660cc53c5f8c8d3.zip |
Fix lint errors in lint error fix.
Thanks to xet7 !
Diffstat (limited to 'models/trelloCreator.js')
-rw-r--r-- | models/trelloCreator.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 28982f43..1c5bcd93 100644 --- a/models/trelloCreator.js +++ b/models/trelloCreator.js @@ -1,4 +1,4 @@ -const DateString = Match.Where(function (dateAsString) { +const DateString = Match.Where(function(dateAsString) { check(dateAsString, String); return moment(dateAsString, moment.ISO_8601).isValid(); }); @@ -299,13 +299,13 @@ export class TrelloCreator { } } return true; - }) + }); if (positiveVotes.length > 0) { cardToCreate.vote = { question: cardToCreate.title, public: true, positive: positiveVotes, - } + }; } } @@ -369,7 +369,7 @@ export class TrelloCreator { // so we make it server only, and let UI catch up once it is done, forget about latency comp. const self = this; if (Meteor.isServer) { - file.attachData(att.url, function (error) { + file.attachData(att.url, function(error) { file.boardId = boardId; file.cardId = cardId; file.userId = self._user(att.idMemberCreator); |