From a386c38fbc5e8986f8050ce2c874cac3e92c7db3 Mon Sep 17 00:00:00 2001 From: mtyszczak <mateusz.tyszczak@gmail.com> Date: Wed, 19 Mar 2025 21:51:03 +0100 Subject: [PATCH] Fix account request link creation --- src/components/utilcards/RequestAccountCreate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utilcards/RequestAccountCreate.vue b/src/components/utilcards/RequestAccountCreate.vue index 4ce863b..3168cf1 100644 --- a/src/components/utilcards/RequestAccountCreate.vue +++ b/src/components/utilcards/RequestAccountCreate.vue @@ -92,7 +92,7 @@ if(hasMetamaskWithSnap) const getAccountCreateSigningLink = (): string => { const accountName = createAccountNameOperation.value!.startsWith('@') ? createAccountNameOperation.value!.slice(1) : createAccountNameOperation.value!; hasCopiedCreateSignLink.value = true; - return `${window.location.protocol}//${window.location.host}/account/create?acc=${accountName}&${Object.values(publicKeys.value).map((key, index) => `key${index + 1}=${key}`).join('&')}`; + return `${window.location.protocol}//${window.location.host}/account/create?acc=${accountName}&${Object.entries(publicKeys.value).map(([role, key]) => `${role}=${key}`).join('&')}`; }; </script> -- GitLab