Added missing props to ChannelModifySchema

This commit is contained in:
Madeline committed 2022-09-10 21:35:27 +10:00
1 parent ac89e43472
commit af8cbab112
2 files changed
+237 -15594

No files matched your search

+233 -15594
View File
File diff suppressed because it is too large. Load diff
@@ -70,6 +70,10 @@ export interface ChannelModifySchema {
nsfw?: boolean;
rtc_region?: string;
default_auto_archive_duration?: number;
default_reaction_emoji?: string | null;
flags?: number;
default_thread_rate_limit_per_user?: number;
video_quality_mode?: number;
}
router.patch("/", route({ body: "ChannelModifySchema", permission: "MANAGE_CHANNELS" }), async (req: Request, res: Response) => {