summary refs log tree commit diff
path: root/src/schema/Channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema/Channel.ts')
-rw-r--r--src/schema/Channel.ts2
1 files changed, 1 insertions, 1 deletions
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,