🐛 fix post/patch channel

This commit is contained in:
Flam3rboy
2021-08-07 21:50:20 +02:00
parent 10913988b9
commit 2bebfa1653
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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,