From 8a2f65e4a857034429f4d65bb4f9a2d67a2a176e Mon Sep 17 00:00:00 2001 From: Adrian <695698+maurerbot@users.noreply.github.com> Date: Mon, 6 Mar 2023 15:40:40 -0500 Subject: [PATCH] fix(profile): account address display (#1872) --- apps/profile/app/helpers/profile.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/profile/app/helpers/profile.ts b/apps/profile/app/helpers/profile.ts index b6fa9f6b34..25efb55ed2 100644 --- a/apps/profile/app/helpers/profile.ts +++ b/apps/profile/app/helpers/profile.ts @@ -191,7 +191,7 @@ export const normalizeProfileToConnection = (profile: any) => { case 'OAuthTwitterProfile': return { id: profile.urn, - address: profile.name, + address: `@${profile.screen_name}`, title: profile.name, icon: profile.profile_image_url_https, chain: 'Twitter', @@ -199,7 +199,7 @@ export const normalizeProfileToConnection = (profile: any) => { case 'OAuthGithubProfile': return { id: profile.urn, - address: profile.name, + address: profile.login, title: profile.name, icon: profile.avatar_url, chain: 'GitHub', @@ -223,8 +223,8 @@ export const normalizeProfileToConnection = (profile: any) => { case 'OAuthDiscordProfile': return { id: profile.urn, - address: profile.email, - title: `${profile.username}#${profile.discriminator}`, + address: `${profile.username}#${profile.discriminator}`, + title: profile.username, icon: `https://cdn.discordapp.com/avatars/${profile.discordId}/${profile.avatar}.png`, chain: 'Discord', }