mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 01:10:01 +00:00
Rollback dependencies
This commit is contained in:
36
package.json
36
package.json
@@ -13,48 +13,48 @@
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^1.4.1",
|
||||
"@sendgrid/mail": "^7.4.7",
|
||||
"@stripe/stripe-js": "^1.20.2",
|
||||
"@supabase/supabase-js": "^1.24.0",
|
||||
"@types/node": "^16.11.0",
|
||||
"@types/react": "^17.0.30",
|
||||
"@stripe/stripe-js": "^1.18.0",
|
||||
"@supabase/supabase-js": "^1.23.0",
|
||||
"@types/node": "^16.10.1",
|
||||
"@types/react": "^17.0.24",
|
||||
"@types/react-dom": "^17.0.9",
|
||||
"axios": "^0.23.0",
|
||||
"axios": "^0.21.4",
|
||||
"cors": "^2.8.5",
|
||||
"daisyui": "^1.14.5",
|
||||
"express-rate-limit": "^5.5.0",
|
||||
"daisyui": "^1.14.1",
|
||||
"express-rate-limit": "^5.3.0",
|
||||
"micro": "^9.3.4",
|
||||
"next": ">=11.1.2",
|
||||
"next-seo": "^4.28.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-feather": "^2.0.9",
|
||||
"react-icons": "^4.3.1",
|
||||
"react-icons": "^4.2.0",
|
||||
"react-toastify": "^8.0.3",
|
||||
"stripe": "^8.183.0",
|
||||
"typescript": "^4.4.4"
|
||||
"stripe": "^8.176.0",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/eslint-plugin-next": "^11.1.2",
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/express-rate-limit": "^5.1.3",
|
||||
"@types/micro": "^7.3.6",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"autoprefixer": "^10.3.7",
|
||||
"cypress": "^8.6.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
||||
"autoprefixer": "^10.3.6",
|
||||
"cypress": "^8.5.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-airbnb": "^18.2.1",
|
||||
"eslint-config-next": "^11.1.2",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.25.2",
|
||||
"eslint-plugin-import": "^2.24.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.26.1",
|
||||
"eslint-plugin-react": "^7.26.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||||
"postcss": "^8.3.9",
|
||||
"postcss": "^8.3.8",
|
||||
"prettier": "^2.4.1",
|
||||
"tailwindcss": "^2.2.17"
|
||||
"tailwindcss": "^2.2.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@ export async function getServerSideProps(context: NextPageContext) {
|
||||
.eq('id', user.id)
|
||||
.single();
|
||||
|
||||
console.log(plan);
|
||||
// Check the subscription plan. If it doesnt exist, return null
|
||||
const subscription = plan?.subscription
|
||||
? await stripe.subscriptions.retrieve(plan.subscription)
|
||||
|
||||
Reference in New Issue
Block a user