From 08a4404fedcb2658944f05ccfc5b3c122b4f19c4 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Sat, 3 Jun 2023 13:58:53 -0700 Subject: [PATCH] fixed the email issue --- backend/src/controllers/v3/signupController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/v3/signupController.ts b/backend/src/controllers/v3/signupController.ts index 1f4a420dd..61b4612dc 100644 --- a/backend/src/controllers/v3/signupController.ts +++ b/backend/src/controllers/v3/signupController.ts @@ -169,7 +169,7 @@ export const completeAccountSignup = async (req: Request, res: Response) => { if (postHogClient) { postHogClient.capture({ event: 'User Signed Up', - distinctId: req.user.email, + distinctId: email, properties: { email, attributionSource