From a87e108ee640bc1b991df2ea56599baa297027be Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 27 Oct 2019 23:54:55 -0400 Subject: [PATCH] type should be number --- src/models/Moderation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Moderation.ts b/src/models/Moderation.ts index 9c15298..67bd184 100644 --- a/src/models/Moderation.ts +++ b/src/models/Moderation.ts @@ -28,7 +28,7 @@ const Moderation: Schema = new Schema({ logID: String, moderatorID: String, reason: String, - type: String, + type: Number, date: Date, expiration: { date: Date,