summaryrefslogtreecommitdiffstats
path: root/collections/boards.js
diff options
context:
space:
mode:
Diffstat (limited to 'collections/boards.js')
-rw-r--r--collections/boards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/boards.js b/collections/boards.js
index ddfa5016..fcd04153 100644
--- a/collections/boards.js
+++ b/collections/boards.js
@@ -156,7 +156,7 @@ Boards.before.insert((userId, doc) => {
doc.slug = doc.slug || getSlug(doc.title) || 'board';
doc.createdAt = new Date();
doc.archived = false;
- doc.members = [{
+ doc.members = doc.members || [{
userId,
isAdmin: true,
isActive: true,