Skip to content

Commit

Permalink
fix double protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswburke committed Aug 8, 2024
1 parent b886368 commit c905372
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 @@ -18,7 +18,7 @@ export const dynamic = 'force-dynamic';
export async function POST(request) {
try {
const { prefix = '' } = await request.json();
const link = `https://${process.env.NEXT_PUBLIC_URL}/#${prefix}`;
const link = `${process.env.NEXT_PUBLIC_URL}/#${prefix}`;
const message = `<${link}|New Screenshots! Prefix: ${prefix}>`;

const success = await slackWebApi.chat.postMessage({
Expand Down

0 comments on commit c905372

Please sign in to comment.