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.
pull/1197/head
Ghassen Rjab 8 years ago
parent 06644d9c71
commit afc002d81a
  1. 1
      models/wekanCreator.js

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

Loading…
Cancel
Save