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 payouts-item-failed.ts

Steven Tey4df0bb93746e
diff --git a/apps/web/app/(ee)/api/paypal/webhook/payouts-item-failed.ts b/apps/web/app/(ee)/api/paypal/webhook/payouts-item-failed.ts
index 95b224af4f..500c20ada5 100644
--- a/apps/web/app/(ee)/api/paypal/webhook/payouts-item-failed.ts
+++ b/apps/web/app/(ee)/api/paypal/webhook/payouts-item-failed.ts
@@ -50,7 +50,7 @@ export async function payoutsItemFailed(event: any) {
},
data: {
paypalTransferId: payoutItemId,
- status: "failed",
+ status: payoutStatus,
failureReason,
},
});