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.
This commit is contained in:
Ghassen Rjab 2017-08-28 22:03:21 +01:00
parent 06644d9c71
commit afc002d81a

View file

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