From 3697f61eb70e36c8fcc24940640e961dea227836 Mon Sep 17 00:00:00 2001 From: Guillaume Cauchois Date: Thu, 19 Dec 2024 14:48:59 +0100 Subject: [PATCH] fix(Messaging): bad url generation in suspicious user slack msg --- src/messaging/messaging.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messaging/messaging.utils.ts b/src/messaging/messaging.utils.ts index b1077717..33942a78 100644 --- a/src/messaging/messaging.utils.ts +++ b/src/messaging/messaging.utils.ts @@ -40,7 +40,7 @@ export const generateSlackMsgConfigUserSuspiciousUser = ( context: string, message?: string ): SlackBlockConfig => { - const adminUserProfileUrl = `${process.env.FRONT_URL}/backoffice/admin/membres/aeb196a0-9c51-4810-ac91-6850611394cd${user.id}`; + const adminUserProfileUrl = `${process.env.FRONT_URL}/backoffice/admin/membres/${user.id}`; return { title: '🔬 Comportement suspect detecté 👿',