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.

fix types

Steven Teyc11f005dc31e
diff --git a/apps/web/lib/partners/create-sales-payout.ts b/apps/web/lib/partners/create-sales-payout.ts
index 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) => {