Skip to content

Commit

Permalink
fix(api): stripe api version
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Aug 28, 2024
1 parent 149c5be commit 8f1b17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/services/external/stripeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Stripe from "stripe";

import { env } from "@src/utils/env";

const stripe = new Stripe(process.env.StripeSecretKey, { apiVersion: "2022-08-01" });
const stripe = new Stripe(process.env.StripeSecretKey, { apiVersion: "2024-06-20" });

export async function getBillingPortalUrl(userId: string) {
const userSettings = await UserSetting.findOne({ where: { userId: userId } });
Expand Down

0 comments on commit 8f1b17f

Please sign in to comment.