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.

underscore unused param

Steven Tey05ff9bc9fd89
diff --git a/apps/web/app/api/analytics/[endpoint]/route.ts b/apps/web/app/api/analytics/[endpoint]/route.ts
index 85d64ea243..d6c07e3c63 100644
--- a/apps/web/app/api/analytics/[endpoint]/route.ts
+++ b/apps/web/app/api/analytics/[endpoint]/route.ts
@@ -8,7 +8,7 @@ import { NextResponse } from "next/server";
const endpointSchema = z.object({
endpoint: z.enum(VALID_TINYBIRD_ENDPOINTS, {
- errorMap: (issue, ctx) => {
+ errorMap: (_issue, _ctx) => {
return {
message: `Invalid endpoint. Valid endpoints are: ${VALID_TINYBIRD_ENDPOINTS.join(", ")}`,
};