Add promotional_email_opt_in field to register to allow newer clients to make register requests

This commit is contained in:
Madeline
2022-06-01 21:31:01 +10:00
parent b1a8fdba5a
commit e5b4ef4675
2 changed files with 67 additions and 9858 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -31,6 +31,8 @@ export interface RegisterSchema {
date_of_birth?: Date; // "2000-04-03"
gift_code_sku_id?: string;
captcha_key?: string;
promotional_email_opt_in?: boolean;
}
router.post("/", route({ body: "RegisterSchema" }), async (req: Request, res: Response) => {