From 53b77eba2dd32878fe03817758276a61cc923a76 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 13 Sep 2020 23:55:45 -0400 Subject: [PATCH] Factor in new subscoring model --- src/models/Score.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/Score.ts b/src/models/Score.ts index 942ec5b..dd614ea 100644 --- a/src/models/Score.ts +++ b/src/models/Score.ts @@ -30,6 +30,7 @@ export interface ScoreInterface extends Document { cloudServices: number, // 0 or 20, 20 points are added if the user is a staff member staff: number, + other: number, notify: boolean, inquiries: [{ name: string, reason: string, date: Date }], lastUpdate: Date, @@ -43,6 +44,7 @@ const Score: Schema = new Schema({ moderation: Number, cloudServices: Number, staff: Number, + other: Number, notify: Boolean, inquiries: Array, lastUpdate: Date,