Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

remove console.log

Kiran K165a924858f1
diff --git a/apps/web/app/api/slack/slash-commands/route.ts b/apps/web/app/api/slack/slash-commands/route.ts
index 4e327e2366..0427d1e9a2 100644
--- a/apps/web/app/api/slack/slash-commands/route.ts
+++ b/apps/web/app/api/slack/slash-commands/route.ts
@@ -3,9 +3,5 @@ import { NextResponse } from "next/server";
// Slack will send an HTTP POST request information to this URL when a user run the slash command
export const POST = async (req: Request) => {
- const response = await handleSlashCommand(req);
-
- console.log(response);
-
- return NextResponse.json(response);
+ return NextResponse.json(await handleSlashCommand(req));
};