fixed the email issue

This commit is contained in:
Vladyslav Matsiiako
2023-06-03 13:58:53 -07:00
parent 73aa01c568
commit 08a4404fed

View File

@@ -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