summary refs log tree commit diff
path: root/api/src/routes/channels
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-18 08:03:52 +0200
committerGitHub <noreply@github.com>2021-09-18 08:03:52 +0200
commit5d6fa7697a2f3c59768859ff85d92adf9563d685 (patch)
treeb54ac11ef657d679b1387d85bf2c4ef462069d79 /api/src/routes/channels
parentFix icon, owner_id change and channel deletion for group DMs (diff)
parent:bug: fix body parse treating null not as undefined (except for icons/avatars) (diff)
downloadserver-5d6fa7697a2f3c59768859ff85d92adf9563d685.tar.xz
Merge branch 'fosscord:master' into fix-dm
Diffstat (limited to 'api/src/routes/channels')
-rw-r--r--api/src/routes/channels/#channel_id/invites.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/src/routes/channels/#channel_id/invites.ts b/api/src/routes/channels/#channel_id/invites.ts

index 71612e31..22420983 100644 --- a/api/src/routes/channels/#channel_id/invites.ts +++ b/api/src/routes/channels/#channel_id/invites.ts
@@ -8,9 +8,9 @@ import { isTextChannel } from "./messages"; const router: Router = Router(); export interface InviteCreateSchema { - target_user_id?: string | null; - target_type?: string | null; - validate?: string | null; // ? what is this + target_user_id?: string; + target_type?: string; + validate?: string; // ? what is this max_age?: number; max_uses?: number; temporary?: boolean;