2
0

⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2022-11-21 19:08:14 +01:00
parent b29f7325ad
commit 34cfd1db30
35 changed files with 674 additions and 739 deletions

View File

@ -14,11 +14,11 @@
"axios": "^1.1.3",
"db": "workspace:*",
"emails": "workspace:*",
"got": "12.5.2",
"got": "12.5.3",
"models": "workspace:*",
"stripe": "10.17.0",
"stripe": "11.1.0",
"tsx": "3.12.1",
"typescript": "4.8.4",
"typescript": "4.9.3",
"utils": "workspace:*"
}
}

View File

@ -14,7 +14,7 @@ export const setCustomPlan = async () => {
'STRIPE_SECRET_KEY or STRIPE_SUBSCRIPTION_ID or STRIPE_PRODUCT_ID or process.env.WORKSPACE_ID var is missing'
)
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
apiVersion: '2022-08-01',
apiVersion: '2022-11-15',
})
const claimablePlan = await prisma.claimableCustomPlan.findFirst({