Skip to content

Commit

Permalink
Include prefix in slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswburke committed Aug 8, 2024
1 parent f9e81eb commit b886368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/v1/slack/notification-for-capture/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b886368

Please sign in to comment.