From cc00b2eb335027e90aa734153eaa7e8a632a9018 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 30 May 2021 16:44:50 +0200 Subject: :bug: fix models with type property --- src/models/AuditLog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/AuditLog.ts') diff --git a/src/models/AuditLog.ts b/src/models/AuditLog.ts index c1f83c13..02b2c444 100644 --- a/src/models/AuditLog.ts +++ b/src/models/AuditLog.ts @@ -165,7 +165,7 @@ export const AuditLogSchema = new Schema({ messaged_id: String, count: String, id: String, - type: String, + type: { type: Number }, role_name: String, }, changes: [ -- cgit 1.5.1