From 6ee94301466e16d3559f5251dd672b657e3b0da8 Mon Sep 17 00:00:00 2001 From: camilovegag Date: Wed, 4 Sep 2024 22:31:48 -0500 Subject: [PATCH] Fix zupass login at edge esmeralda branch --- .../berlin/src/components/zupass-button/ZupassLoginButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/berlin/src/components/zupass-button/ZupassLoginButton.tsx b/packages/berlin/src/components/zupass-button/ZupassLoginButton.tsx index 50b6d519..c82f62d2 100644 --- a/packages/berlin/src/components/zupass-button/ZupassLoginButton.tsx +++ b/packages/berlin/src/components/zupass-button/ZupassLoginButton.tsx @@ -65,7 +65,7 @@ function ZupassLoginButton({ children, $variant, ...props }: ZupassLoginButtonPr requestUser(import.meta.env.VITE_ZUPASS_SERVER_URL, signInPayload.uuid).then((user) => { if (user.success) { mutateVerify({ - email: user.value.email, + email: user.value.emails[0], uuid: user.value.uuid, pcdStr: JSON.parse(pcdStr).pcd, serverUrl: import.meta.env.VITE_SERVER_URL,