The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix build
Kiran Kd7899dc32198
diff --git a/apps/web/lib/api/links/update-link.ts b/apps/web/lib/api/links/update-link.tsindex a692e631d2..3ecd00e390 100644--- a/apps/web/lib/api/links/update-link.ts+++ b/apps/web/lib/api/links/update-link.ts@@ -136,7 +136,13 @@ export async function updateLink({},webhooks: {select: {- webhookId: true,+ webhook: {+ select: {+ id: true,+ name: true,+ url: true,+ },+ },},},},@@ -149,7 +155,7 @@ export async function updateLink({[updatedLink.key.toLowerCase()]: await formatRedisLink({...response,...(response.webhooks.length > 0 && {- webhookIds: response.webhooks.map(({ webhookId }) => webhookId),+ webhookIds: response.webhooks.map(({ webhook }) => webhook.id),}),}),}),