浏览代码

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 年之前
父节点
当前提交
afc002d81a
共有 1 个文件被更改,包括 0 次插入1 次删除
  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,
     })]);