From 769f1846699d3bb8d547f9b3acd1f259901d3cb4 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 28 Feb 2022 16:28:56 -0500 Subject: [PATCH] fix typo 'ScoreHostorical' --- index.ts | 2 +- mongodb/ScoreHistorical.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 4821c58..75d3e5f 100644 --- a/index.ts +++ b/index.ts @@ -22,7 +22,7 @@ export default { Resolution: gm(MongoDB.Resolution), SAA: gm(MongoDB.SAA), Score: gm(MongoDB.Score), - ScoreHistorial: gm(MongoDB.ScoreHistorical), + ScoreHistorical: gm(MongoDB.ScoreHistorical), Staff: gm(MongoDB.Staff), Stat: gm(MongoDB.Stat), } diff --git a/mongodb/ScoreHistorical.ts b/mongodb/ScoreHistorical.ts index b33a1c5..8fbf0df 100644 --- a/mongodb/ScoreHistorical.ts +++ b/mongodb/ScoreHistorical.ts @@ -1,4 +1,5 @@ import { prop } from '@typegoose/typegoose' +import { Types } from 'mongoose'; export default class ScoreHistorical { @prop({ required: true })