mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-24 02:03:03 +00:00
Add promotional_email_opt_in field to register to allow newer clients to make register requests
This commit is contained in:
1 parent
0bf8818f0b
commit
707b6f3181
2 files changed
+67
-9858
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user