Browse Source

Export: add _format field

Xavier Priour 9 years ago
parent
commit
3a52d7d7af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/export.js

+ 1 - 0
models/export.js

@@ -42,6 +42,7 @@ class Exporter {
     // we do not want to retrieve boardId in related elements
     const noBoardId = {fields: {boardId: 0}};
     const result = Boards.findOne(this._boardId, {fields: {stars: 0}});
+    result._format = 'wekan-board-1.0.0';
     result.lists = Lists.find(byBoard, noBoardId).fetch();
     result.cards = Cards.find(byBoard, noBoardId).fetch();
     result.comments = CardComments.find(byBoard, noBoardId).fetch();