diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-09 18:47:34 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-09 18:47:34 +1000 |
commit | 0b96c9f70b2515b17781f420b31c113b88351478 (patch) | |
tree | 798a0a1bb9142dba8aec37b1a314d819cdc3632f /api/src | |
parent | Test fix for that voice state error (diff) | |
parent | Add `promotional_email_opt_in` field to register to allow newer clients to ma... (diff) | |
download | server-0b96c9f70b2515b17781f420b31c113b88351478.tar.xz |
Merge branch 'fix/registerNewClients' into slowcord
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/auth/register.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts index 94dd6502..126f3dbc 100644 --- a/api/src/routes/auth/register.ts +++ b/api/src/routes/auth/register.ts @@ -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) => { |