From 59ffa9a7562c11379d6b70143edbff56e8b2aeaa Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Sat, 22 Oct 2016 16:10:52 -0400 Subject: [PATCH] fix admin code bug --- hourglass/collections/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hourglass/collections/main.js b/hourglass/collections/main.js index d7b8281..e72ff18 100644 --- a/hourglass/collections/main.js +++ b/hourglass/collections/main.js @@ -15,7 +15,7 @@ classes.schema = new SimpleSchema({ teacher: {type: String, optional: true}, admin: {type: String, optional: true}, status: {type: Boolean, defaultValue: false}, - code: {type: String, defaultValue: ""}, + code: {type: String, optional: true}, privacy: {type: Boolean}, category: {type: String}, moderators: {type: [String], optional: true},