diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-08-28 22:03:21 +0100 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-08-28 22:03:21 +0100 |
commit | afc002d81ab9346b13e948cf3e50b84e511b3947 (patch) | |
tree | ac1bb9f82502df116aac2e3b3d60a058f813e6a8 | |
parent | 06644d9c714db046def9325612b64ab77a850c38 (diff) | |
download | wekan-afc002d81ab9346b13e948cf3e50b84e511b3947.tar.gz wekan-afc002d81ab9346b13e948cf3e50b84e511b3947.tar.bz2 wekan-afc002d81ab9346b13e948cf3e50b84e511b3947.zip |
Make userId optional when importing Wekan boards
Sandstorm will have an activity of adding a member by default which will have an empty userId. This caused issues when importing exported Sandstorm boards.
-rw-r--r-- | models/wekanCreator.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/models/wekanCreator.js b/models/wekanCreator.js index b5f9b0ff..210fa1c0 100644 --- a/models/wekanCreator.js +++ b/models/wekanCreator.js @@ -71,7 +71,6 @@ export class WekanCreator { checkActivities(wekanActivities) { check(wekanActivities, [Match.ObjectIncluding({ - userId: String, activityType: String, createdAt: DateString, })]); |