From af0fbfcde14003ea8f8fc77124a3790095bdc3c9 Mon Sep 17 00:00:00 2001 From: johnathan White Date: Fri, 13 Jan 2023 16:04:01 -0500 Subject: [PATCH] added signup attribute --- src/api/auth/auth.types.ts | 1 + src/store/bitpay-id/bitpay-id.effects.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/api/auth/auth.types.ts b/src/api/auth/auth.types.ts index 505db32fa..2867b38d8 100644 --- a/src/api/auth/auth.types.ts +++ b/src/api/auth/auth.types.ts @@ -6,6 +6,7 @@ export interface RegisterParams { email: string; agreedToTOSandPP: boolean; gCaptchaResponse?: string; + attribute: 'App Signup'; } export interface RegisterResponse { diff --git a/src/store/bitpay-id/bitpay-id.effects.ts b/src/store/bitpay-id/bitpay-id.effects.ts index f5e569ebe..3413c9bd8 100644 --- a/src/store/bitpay-id/bitpay-id.effects.ts +++ b/src/store/bitpay-id/bitpay-id.effects.ts @@ -114,6 +114,7 @@ export const startCreateAccount = salt: salt, agreedToTOSandPP: params.agreedToTOSandPP, gCaptchaResponse: params.gCaptchaResponse, + attribute: 'App Signup', }); // refresh session