summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/trelloCreator.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js
index 72af1f84..8920ff77 100644
--- a/models/trelloCreator.js
+++ b/models/trelloCreator.js
@@ -430,8 +430,7 @@ export class TrelloCreator {
// keep track of Trello id => WeKan id
this.checklists[checklist.id] = checklistId;
// Now add the items to the checklistItems
- var counter = 0;
- const itemsToCreate = [];
+ let counter = 0;
checklist.checkItems.forEach((item) => {
counter++;
const checklistItemTocreate = {