Browse Source

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.
Ghassen Rjab 7 years ago
parent
commit
afc002d81a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      models/wekanCreator.js

+ 0 - 1
models/wekanCreator.js

@@ -71,7 +71,6 @@ export class WekanCreator {
 
   checkActivities(wekanActivities) {
     check(wekanActivities, [Match.ObjectIncluding({
-      userId: String,
       activityType: String,
       createdAt: DateString,
     })]);