diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-11-09 21:58:31 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-11-09 21:58:31 +0200 |
commit | 3300c69a039b3a4aa54c21340104a231cf2e80b1 (patch) | |
tree | 33fd50fabf939d613c8b0cc513fe75b1f3833216 /models/import.js | |
parent | 09a95dfef6345782b0b36c97e624eab2126a84d4 (diff) | |
parent | e3b3e8b8c60c6c46304b80498075c08c6fce820e (diff) | |
download | wekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.tar.gz wekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.tar.bz2 wekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.zip |
Merge branch 'edge' into meteor-1.8
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 |