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

Steven Teybde79ac90a5b
diff --git a/apps/web/app/(ee)/api/stripe/webhook/charge-failed.ts b/apps/web/app/(ee)/api/stripe/webhook/charge-failed.ts
index 7759e912f7..a382102346 100644
--- a/apps/web/app/(ee)/api/stripe/webhook/charge-failed.ts
+++ b/apps/web/app/(ee)/api/stripe/webhook/charge-failed.ts
@@ -16,7 +16,7 @@ export async function chargeFailed(event: Stripe.Event) {
failure_message: failedReason,
} = charge;
- log({
+ await log({
message: `Partner payout failed for invoice ${invoiceId}.`,
type: "errors",
mention: true,