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 charge-refunded.ts

Steven Tey17efe48e5f95
diff --git a/apps/web/app/api/stripe/integration/webhook/charge-refunded.ts b/apps/web/app/api/stripe/integration/webhook/charge-refunded.ts
index c79b783c8c..c73c6391ac 100644
--- a/apps/web/app/api/stripe/integration/webhook/charge-refunded.ts
+++ b/apps/web/app/api/stripe/integration/webhook/charge-refunded.ts
@@ -68,4 +68,6 @@ export async function chargeRefunded(event: Stripe.Event) {
where: { id: commission.id },
data: { status: "refunded", payoutId: null },
});
+
+ return `Commission ${commission.id} updated to status "refunded"`;
}