🐛 fix invites: ajv doesn't treat null as undefined
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user