summary refs log tree commit diff
path: root/src/models/Channel.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/Channel.ts
parent1.3.11 (diff)
downloadserver-cc00b2eb335027e90aa734153eaa7e8a632a9018.tar.xz
:bug: fix models with type property
Diffstat (limited to 'src/models/Channel.ts')
-rw-r--r--src/models/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Channel.ts b/src/models/Channel.ts

index bde5256a..19d5c32b 100644 --- a/src/models/Channel.ts +++ b/src/models/Channel.ts
@@ -31,7 +31,7 @@ export const ChannelSchema = new Schema({ allow: { type: String, get: toBigInt }, deny: { type: String, get: toBigInt }, id: String, - type: Number, + type: { type: Number }, }, ], });