Преглед на файлове

Update import from Trello feature

Add importing the due date of a card
Ghassen Rjab преди 8 години
родител
ревизия
aff4655134
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      models/import.js

+ 1 - 0
models/import.js

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