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/Channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/Channel.ts') 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 }, }, ], }); -- cgit 1.5.1