Skip to content

Commit

Permalink
Merge pull request #246 from ReseauEntourage/hotfix/EN-7894-messaging…
Browse files Browse the repository at this point in the history
…-profile-url-spam

HOTFIX - Bad url generation in suspicious user slack msg
  • Loading branch information
guillobits authored Dec 19, 2024
2 parents d4ff08d + 3697f61 commit f5d4104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messaging/messaging.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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é 👿',
Expand Down

0 comments on commit f5d4104

Please sign in to comment.