From 3113144340764907c0beb602710e5a74d3d7db9e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Mar 2022 13:44:04 -0500 Subject: [PATCH] mongodb model prop --- mongodb/PagerNumber.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mongodb/PagerNumber.ts b/mongodb/PagerNumber.ts index 2d1b711..3831f22 100644 --- a/mongodb/PagerNumber.ts +++ b/mongodb/PagerNumber.ts @@ -4,13 +4,13 @@ export default class PagerNumberRaw { @prop({ required: true }) public num: string; - @prop({ required: true }) + @prop() public individualAssignID: string; - @prop({ required: true }) + @prop({ default: [] }) public emailAddresses: string[]; - @prop({ required: true }) + @prop({ default: [] }) public discordIDs: string[]; @prop()