Commented out admin check, unsure as to whether or not more than one admin can exist
This commit is contained in:
1 parent
c77414f2d7
commit
608153b461
6 files changed
+23
-23
No files matched your search
@@ -8,7 +8,7 @@ const InviteTokenSchema = mongoose.Schema(
|
||||
unique: true,
|
||||
},
|
||||
role: {
|
||||
type: String,
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
token: {
|
||||
|
||||
Reference in new issue
Block a user