From 399f4978f83e5cee4027ab0b581b80f4ef9db3c8 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Sat, 9 Apr 2022 15:40:02 +0100 Subject: [PATCH] Adding Username (#2424) --- packages/app-store/slackmessaging/lib/views/ShowLinks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-store/slackmessaging/lib/views/ShowLinks.ts b/packages/app-store/slackmessaging/lib/views/ShowLinks.ts index b5a1f57d..f4dce914 100644 --- a/packages/app-store/slackmessaging/lib/views/ShowLinks.ts +++ b/packages/app-store/slackmessaging/lib/views/ShowLinks.ts @@ -21,8 +21,8 @@ const ShowLinks = (eventLinks: IEventTypes[] | undefined, username: string) => { Blocks.Divider(), eventLinks.map((links) => Blocks.Section({ - text: `${links.title} | ${WEBAPP_URL}/${links.slug}`, - }).accessory(Elements.Button({ text: "Open", url: `${WEBAPP_URL}/${links.slug}` })) + text: `${links.title} | ${WEBAPP_URL}/${username}/${links.slug}`, + }).accessory(Elements.Button({ text: "Open", url: `${WEBAPP_URL}/${username}/${links.slug}` })) ) ) .buildToJSON();