|
@@ -404,13 +404,6 @@ if (Meteor.isServer) {
|
|
title,
|
|
title,
|
|
boardId,
|
|
boardId,
|
|
userId: ExampleBoard.userId,
|
|
userId: ExampleBoard.userId,
|
|
-
|
|
|
|
- // XXX Not certain this is a bug, but we except these fields get
|
|
|
|
- // inserted by the Lists.before.insert collection-hook. Since this
|
|
|
|
- // hook is not called in this case, we have to dublicate the logic and
|
|
|
|
- // set them here.
|
|
|
|
- archived: false,
|
|
|
|
- createdAt: new Date(),
|
|
|
|
};
|
|
};
|
|
|
|
|
|
Lists.insert(list);
|
|
Lists.insert(list);
|