Explorar o código

Update import from Trello feature

Add importing the due date of a card
Ghassen Rjab %!s(int64=8) %!d(string=hai) anos
pai
achega
aff4655134
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      models/import.js

+ 1 - 0
models/import.js

@@ -229,6 +229,7 @@ class TrelloCreator {
         title: card.name,
         // we attribute the card to its creator if available
         userId: this._user(this.createdBy.cards[card.id]),
+        dueAt: card.due ? this._now(card.due) : null,
       };
       // add labels
       if (card.idLabels) {