🐛 fix body parse treating null not as undefined (except for icons/avatars)
This commit is contained in:
@@ -6,7 +6,7 @@ import { DiscordApiErrors } from "@fosscord/util";
|
||||
|
||||
export interface GuildTemplateCreateSchema {
|
||||
name: string;
|
||||
avatar?: string;
|
||||
avatar?: string | null;
|
||||
}
|
||||
|
||||
router.get("/:code", route({}), async (req: Request, res: Response) => {
|
||||
|
||||
Reference in New Issue
Block a user