summary refs log tree commit diff
path: root/api/src/routes/auth
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-12 01:46:42 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 21:57:51 +0200
commit44859db499f080e3a341f3e7fa5e44611fc2f887 (patch)
treee1f5df7de00929797de517683ff152e5f712bd02 /api/src/routes/auth
parentMake ConfigValue a directory, move defaults to those classes instead of a sep... (diff)
downloadserver-ts-44859db499f080e3a341f3e7fa5e44611fc2f887.tar.xz
Push local state...
Diffstat (limited to 'api/src/routes/auth')
-rw-r--r--api/src/routes/auth/register.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts

index 2baef98e..5a3d27e9 100644 --- a/api/src/routes/auth/register.ts +++ b/api/src/routes/auth/register.ts
@@ -30,6 +30,7 @@ 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) => {