Skip to content

Commit b0eb3cc

Browse files
committed
fixed stripe
1 parent 45be417 commit b0eb3cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import "server-only";
2-
import Stripe from "stripe";
1+
import "server-only"
2+
import Stripe from "stripe"
33

4-
if (!process.env.STRIPE_API_KEY) throw new Error("no stripe api key");
4+
if (!process.env.STRIPE_API_KEY) throw new Error("no stripe api key")
55

66
export const stripe = new Stripe(process.env.STRIPE_API_KEY, {
77
// https://github.com/stripe/stripe-node#configuration
8-
apiVersion: "2023-08-16",
8+
apiVersion: "2024-11-20.acacia",
99
appInfo: {
1010
name: "poketto.ai",
1111
url: "https://poketto.ai",
1212
version: "0.1.0",
1313
},
14-
});
14+
})

0 commit comments

Comments
 (0)