The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Steven Teyfd73ba15ea8f
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/billing/usage/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/billing/usage/route.tsindex 09400dc64d..87d54c7515 100644--- a/apps/web/app/api/workspaces/[idOrSlug]/billing/usage/route.ts+++ b/apps/web/app/api/workspaces/[idOrSlug]/billing/usage/route.ts@@ -12,6 +12,8 @@ export const GET = withWorkspace(async ({ searchParams, workspace }) => {const pipe = tb.buildPipe({pipe: `v1_usage`,+ // we extend this here since we don't need to include all the additional parameters+ // in the actual request query schemaparameters: usageQuerySchema.extend({workspaceId: z.string()