diff options
Diffstat (limited to 'models/import.js')
-rw-r--r-- | models/import.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/models/import.js b/models/import.js index 09769794..5cdf8dc1 100644 --- a/models/import.js +++ b/models/import.js @@ -3,10 +3,10 @@ import { WekanCreator } from './wekanCreator'; Meteor.methods({ importBoard(board, data, importSource, currentBoard) { - check(board, Object); - check(data, Object); - check(importSource, String); - check(currentBoard, Match.Maybe(String)); + //check(board, Object); + //check(data, Object); + //check(importSource, String); + //check(currentBoard, Match.Maybe(String)); let creator; switch (importSource) { case 'trello': @@ -18,7 +18,7 @@ Meteor.methods({ } // 1. check all parameters are ok from a syntax point of view - creator.check(board); + //creator.check(board); // 2. check parameters are ok from a business point of view (exist & // authorized) nothing to check, everyone can import boards in their account |