summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-10 21:32:33 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-10 21:35:27 +1000
commit0e98fe9953d5f5f67476fd94903dcd73f75bfa54 (patch)
tree2f0d36b647f9e4f3c23aaccd29c07c398c30f71e /api/src
parentBad 'fix' for socket not open? (diff)
downloadserver-0e98fe9953d5f5f67476fd94903dcd73f75bfa54.tar.xz
Added missing props to ChannelModifySchema
Diffstat (limited to 'api/src')
-rw-r--r--api/src/routes/channels/#channel_id/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/routes/channels/#channel_id/index.ts b/api/src/routes/channels/#channel_id/index.ts

index 2fca4fdf..932a933a 100644 --- a/api/src/routes/channels/#channel_id/index.ts +++ b/api/src/routes/channels/#channel_id/index.ts
@@ -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) => {