summaryrefslogtreecommitdiffstats
path: root/models/import.js
diff options
context:
space:
mode:
authorguillaume <guillaume.cassou@supinfo.com>2018-11-09 14:12:17 +0100
committerguillaume <guillaume.cassou@supinfo.com>2018-11-09 14:12:17 +0100
commitcb091c8a54dc3b9b721a0474f4c821e0b451f3d6 (patch)
treeadb7bce896e2d4428b59a9d5a997b95a3d72361f /models/import.js
parent3646a9c259634bbed03b71ead53338c3f290cf0b (diff)
parent043f9813ef269cfc784ddb75e10e2b875d621ff8 (diff)
downloadwekan-cb091c8a54dc3b9b721a0474f4c821e0b451f3d6.tar.gz
wekan-cb091c8a54dc3b9b721a0474f4c821e0b451f3d6.tar.bz2
wekan-cb091c8a54dc3b9b721a0474f4c821e0b451f3d6.zip
Merge https://github.com/wekan/wekan into devel
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