From fe5ac89f86f4b05675fd06479d41d50ec23e8955 Mon Sep 17 00:00:00 2001 From: Benjamin Shafii Date: Wed, 4 Dec 2024 14:30:07 +0100 Subject: [PATCH] fix another thing --- web/app/api/webhook/handlers/invoice-paid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/api/webhook/handlers/invoice-paid.ts b/web/app/api/webhook/handlers/invoice-paid.ts index 9ae75e1b..e78c47d0 100644 --- a/web/app/api/webhook/handlers/invoice-paid.ts +++ b/web/app/api/webhook/handlers/invoice-paid.ts @@ -7,7 +7,7 @@ import { trackLoopsEvent } from '@/lib/services/loops'; import Stripe from 'stripe'; const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, { - apiVersion: '2022-11-15', + apiVersion: '2024-06-20', }); async function resetUserUsageAndSetLastPayment(userId: string) {