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.

Update partners.ts

Kiran K603da378acbe
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index b2f7251030..e87fd49479 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -352,10 +352,10 @@ export const partnerAnalyticsResponseSchema = {
} as const;
export const updateSaleSchema = z.object({
+ programId: z.string(),
+ invoiceId: z.string(),
amount: z
.number({ required_error: "Amount is required." })
.min(0)
.describe("The new amount for the sale."),
- programId: z.string(),
- invoiceId: z.string(),
});