The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix types
Steven Teyc11f005dc31e
diff --git a/apps/web/lib/partners/create-sales-payout.ts b/apps/web/lib/partners/create-sales-payout.tsindex cd63f8f198..7355c54b40 100644--- a/apps/web/lib/partners/create-sales-payout.ts+++ b/apps/web/lib/partners/create-sales-payout.ts@@ -12,8 +12,8 @@ export const createSalesPayout = async ({}: {programId: string;partnerId: string;- periodStart?: Date;- periodEnd?: Date;+ periodStart?: Date | null;+ periodEnd?: Date | null;description?: string;}) => {return await prisma.$transaction(async (tx) => {