From b88636867e9a8cbff66f7b652d49a32b81277f00 Mon Sep 17 00:00:00 2001 From: James Burke Date: Thu, 8 Aug 2024 19:24:47 -0400 Subject: [PATCH] Include prefix in slack notification --- app/api/v1/slack/notification-for-capture/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/slack/notification-for-capture/route.js b/app/api/v1/slack/notification-for-capture/route.js index 77d1771..bfb5ce5 100644 --- a/app/api/v1/slack/notification-for-capture/route.js +++ b/app/api/v1/slack/notification-for-capture/route.js @@ -19,7 +19,7 @@ export async function POST(request) { try { const { prefix = '' } = await request.json(); const link = `https://${process.env.NEXT_PUBLIC_URL}/#${prefix}`; - const message = `<${link}|New Screenshots!>`; + const message = `<${link}|New Screenshots! Prefix: ${prefix}>`; const success = await slackWebApi.chat.postMessage({ channel: SLACK_CHANNEL_ID,