From 2bebfa165353acc2449c7ab8dac3f95243ff0fba Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 7 Aug 2021 21:50:20 +0200 Subject: :bug: fix post/patch channel --- src/schema/Channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/schema') diff --git a/src/schema/Channel.ts b/src/schema/Channel.ts index 2cb7f7f4..48c3a1d2 100644 --- a/src/schema/Channel.ts +++ b/src/schema/Channel.ts @@ -3,7 +3,7 @@ import { Length } from "../util/instanceOf"; export const ChannelModifySchema = { name: new Length(String, 2, 100), - type: Number, + type: new Length(Number, 0, 13), $topic: new Length(String, 0, 1024), $bitrate: Number, $user_limit: Number, -- cgit 1.5.1