2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
afc002d81a

+ 0 - 1
models/wekanCreator.js

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