summary refs log tree commit diff
path: root/src/models/AuditLog.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-30 16:44:50 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-30 16:44:50 +0200
commitcc00b2eb335027e90aa734153eaa7e8a632a9018 (patch)
treed35e4ea719e11945373b57bd530972a7a238f70d /src/models/AuditLog.ts
parent1.3.11 (diff)
downloadserver-cc00b2eb335027e90aa734153eaa7e8a632a9018.tar.xz
:bug: fix models with type property
Diffstat (limited to 'src/models/AuditLog.ts')
-rw-r--r--src/models/AuditLog.ts2
1 files changed, 1 insertions, 1 deletions
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: [