The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
code improvements
Pedro Ladeiracd44451f7aff
diff --git a/apps/web/app/api/ai/support-chat/upload/route.ts b/apps/web/app/api/ai/support-chat/upload/route.tsindex ef7c135b52..b3659a4b18 100644--- a/apps/web/app/api/ai/support-chat/upload/route.ts+++ b/apps/web/app/api/ai/support-chat/upload/route.ts@@ -87,7 +87,7 @@ export const POST = withSession(async ({ req, session }) => {await plain.getCustomerByExternalId({ externalId: user.id });customer = existingCustomer ?? null;- customerError = lookupError ?? upsert.error;+ customerError = lookupError ?? null;}if (customerError || !customer) {