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 update-partner-invoice-info.ts

Kiran Ke8d874615f18
diff --git a/apps/web/lib/actions/partners/update-partner-invoice-info.ts b/apps/web/lib/actions/partners/update-partner-invoice-info.ts
index 4a4a7b5d66..e3b92e71a3 100644
--- a/apps/web/lib/actions/partners/update-partner-invoice-info.ts
+++ b/apps/web/lib/actions/partners/update-partner-invoice-info.ts
@@ -8,7 +8,7 @@ import { authPartnerActionClient } from "../safe-action";
// Combine this with the updatePartnerProfileAction
const schema = z.object({
- invoiceInfo: z.string().max(1000).nullable(),
+ invoiceInfo: z.string().max(1000).trim().nullable(),
});
// Update a partner invoice info