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.

Remove early return in `invoice.paid` webhook

Steven Teyadbca7a58b67
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/invoice-paid.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/invoice-paid.ts
index c064da88de..1d15caa51c 100644
--- a/apps/web/app/(ee)/api/stripe/integration/webhook/invoice-paid.ts
+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/invoice-paid.ts
@@ -80,9 +80,6 @@ export async function invoicePaid({
});
} catch (error) {
console.log(error);
- return {
- response: `Customer with dubCustomerExternalId ${dubCustomerExternalId} not found, skipping...`,
- };
}
}
}