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.

Update route.ts

Steven Tey9715d53e4d6b
diff --git a/apps/web/app/api/ai/completion/route.ts b/apps/web/app/api/ai/completion/route.ts
index 7b4b3f3ea0..d315ed6ca4 100644
--- a/apps/web/app/api/ai/completion/route.ts
+++ b/apps/web/app/api/ai/completion/route.ts
@@ -10,7 +10,7 @@ import { NextRequest } from "next/server";
export const runtime = "edge";
-// POST /api/ai/link – Generate a shortlink key from a prompt using AI
+// POST /api/ai/completion – Generate AI completion
export async function POST(req: NextRequest) {
const searchParams = getSearchParams(req.url);
const { workspaceId } = searchParams;