summaryrefslogtreecommitdiffstats
path: root/models/import.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-09 21:58:31 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-09 21:58:31 +0200
commit3300c69a039b3a4aa54c21340104a231cf2e80b1 (patch)
tree33fd50fabf939d613c8b0cc513fe75b1f3833216 /models/import.js
parent09a95dfef6345782b0b36c97e624eab2126a84d4 (diff)
parente3b3e8b8c60c6c46304b80498075c08c6fce820e (diff)
downloadwekan-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.js10
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