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

Kiran K5b64be14e2d2
diff --git a/apps/web/app/api/tags/count/route.ts b/apps/web/app/api/tags/count/route.ts
index 6f7055a671..ea4c19495d 100644
--- a/apps/web/app/api/tags/count/route.ts
+++ b/apps/web/app/api/tags/count/route.ts
@@ -3,7 +3,7 @@ import { getTagsCountQuerySchema } from "@/lib/zod/schemas/tags";
import { prisma } from "@dub/prisma";
import { NextResponse } from "next/server";
-// GET /api/tags - get all tags for a workspace
+// GET /api/tags/count - get count of tags
export const GET = withWorkspace(
async ({ workspace, headers, searchParams }) => {
const { search } = getTagsCountQuerySchema.parse(searchParams);