Skip to content

Commit c4c8ed4

Browse files
committed
fix(webhooks): Remove unused failureReason parameter from alert
- Remove failureReason parameter from payment alert function call - Simplify alert payload by removing unused variable - Clean up function arguments to match expected signature
1 parent 201c8ed commit c4c8ed4

File tree

1 file changed

+1
-2
lines changed
  • web/apps/dashboard/app/api/webhooks/stripe

1 file changed

+1
-2
lines changed

web/apps/dashboard/app/api/webhooks/stripe/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,7 @@ export const POST = async (req: Request): Promise<Response> => {
831831
customerEmail,
832832
(customer as Stripe.Customer).name || "Unknown",
833833
amount,
834-
currency,
835-
failureReason,
834+
currency
836835
);
837836
}
838837
} catch (alertError) {

0 commit comments

Comments
 (0)