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;