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

Steven Tey725320cf1e9e
diff --git a/apps/web/app/(ee)/api/stripe/connect/webhook/payout-failed.ts b/apps/web/app/(ee)/api/stripe/connect/webhook/payout-failed.ts
index 68543590bd..7eb09f42b1 100644
--- a/apps/web/app/(ee)/api/stripe/connect/webhook/payout-failed.ts
+++ b/apps/web/app/(ee)/api/stripe/connect/webhook/payout-failed.ts
@@ -37,10 +37,6 @@ export async function payoutFailed(event: Stripe.Event) {
},
});
- if (updatedPayouts.count === 0) {
- return `No "sent" payouts found for Stripe payout ${stripePayout.id}. Skipping...`;
- }
-
if (partner.email) {
try {
// Fetch bank account information