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.

increase limit for stripe.customers.search to top 100

Steven Tey0268c02d6094
diff --git a/apps/web/app/(ee)/api/customers/search-stripe/route.ts b/apps/web/app/(ee)/api/customers/search-stripe/route.ts
index 1a0df5c5a7..35dd8d0b9a 100644
--- a/apps/web/app/(ee)/api/customers/search-stripe/route.ts
+++ b/apps/web/app/(ee)/api/customers/search-stripe/route.ts
@@ -28,6 +28,7 @@ export const GET = withWorkspace(async ({ workspace, searchParams }) => {
const { data } = await stripe.customers.search(
{
query: `email~"${search}"`,
+ limit: 100,
expand: ["data.subscriptions"],
},
{