mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
Fix invites creation
This commit is contained in:
parent
12fbba82ba
commit
8f68c4abcf
@ -713,7 +713,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"target_user_id": {
|
||||
"type": "string"
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"target_type": {
|
||||
"type": [
|
||||
|
@ -8,7 +8,7 @@ import { isTextChannel } from "./messages";
|
||||
const router: Router = Router();
|
||||
|
||||
export interface InviteCreateSchema {
|
||||
target_user_id?: string;
|
||||
target_user_id?: string | null;
|
||||
target_type?: string | null;
|
||||
validate?: string | null; // ? what is this
|
||||
max_age?: number;
|
||||
|
Loading…
Reference in New Issue
Block a user