From afe03b8012d751de08f68a4bd62e040435b71230 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Mar 2022 12:37:29 -0500 Subject: [PATCH] database prop typo fix --- index.ts | 3 +++ mongodb/Judgement.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index daa9418..04debbe 100644 --- a/index.ts +++ b/index.ts @@ -25,5 +25,8 @@ export default { ScoreHistorical: gm(MongoDB.ScoreHistorical), Staff: gm(MongoDB.Staff), Stat: gm(MongoDB.Stat), + }, + constants: { + INQUIRY_TYPE: MongoDB.InqType, } } diff --git a/mongodb/Judgement.ts b/mongodb/Judgement.ts index 350c911..7a5b606 100644 --- a/mongodb/Judgement.ts +++ b/mongodb/Judgement.ts @@ -8,7 +8,7 @@ export enum Severity { export default class Judgement { @prop({ required: true }) - public jID: string; + public jid: string; @prop({ required: true }) public userID: string;