Skip to content

Commit

Permalink
fix another thing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshafii committed Dec 4, 2024
1 parent 7fb141e commit fe5ac89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/api/webhook/handlers/invoice-paid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fe5ac89

Please sign in to comment.