Skip to content
Snippets Groups Projects
Unverified Commit a386c38f authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Fix account request link creation

parent 74112d22
No related branches found
No related tags found
No related merge requests found
Pipeline #118320 passed
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment