diff --git a/mongodb/Merchant.ts b/mongodb/Merchant.ts index 252cd2e..daff429 100644 --- a/mongodb/Merchant.ts +++ b/mongodb/Merchant.ts @@ -8,7 +8,7 @@ export default class Merchant { @prop({ required: true }) public key: string; - @prop({ required: true }) + @prop() public privileged: boolean; @prop({ required: true }) diff --git a/mongodb/Moderation.ts b/mongodb/Moderation.ts index d7a8b62..03c13b5 100644 --- a/mongodb/Moderation.ts +++ b/mongodb/Moderation.ts @@ -19,7 +19,7 @@ export default class Moderation { @prop({ required: true }) public moderatorID: string; - @prop({ required: true }) + @prop() public reason: string; @prop({ required: true }) diff --git a/mongodb/Motion.ts b/mongodb/Motion.ts index 3b42b5a..ae0e1aa 100644 --- a/mongodb/Motion.ts +++ b/mongodb/Motion.ts @@ -24,7 +24,7 @@ export default class Motion { absent: number; }; - @prop({ required: true }) + @prop() public processed: boolean; @prop({ required: true, unique: true })