summary refs log tree commit diff
path: root/api/src/routes/channels/#channel_id/invites.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/channels/#channel_id/invites.ts')
-rw-r--r--api/src/routes/channels/#channel_id/invites.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/routes/channels/#channel_id/invites.ts b/api/src/routes/channels/#channel_id/invites.ts
index 39263185..2edb4fc2 100644
--- a/api/src/routes/channels/#channel_id/invites.ts
+++ b/api/src/routes/channels/#channel_id/invites.ts
@@ -9,8 +9,8 @@ const router: Router = Router();
 
 export interface InviteCreateSchema {
 	target_user_id?: string;
-	target_type?: string;
-	validate?: string; //? wtf is this
+	target_type?: string | null;
+	validate?: string | null; // ? what is this
 	max_age?: number;
 	max_uses?: number;
 	temporary?: boolean;