Skip to content

Commit

Permalink
stripe up reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
Artuomka committed Oct 23, 2023
1 parent 69c04cc commit bcb7871
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"safe-regex2": "^3.1.0",
"secure-json-parse": "2.7.0",
"sinon": "17.0.0",
"stripe": "14.1.0",
"stripe": "12.17.0",
"typeorm": "0.3.17",
"uuid": "^9.0.1",
"validator": "^13.11.0",
Expand Down
2 changes: 1 addition & 1 deletion backend/src/entities/user/utils/stripe-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class StripeUtil {
private static getStripe(): Stripe {
const stripeKey = process.env.STRIPE_SECRET_KEY;
return new Stripe(stripeKey, {
apiVersion: '2023-10-16',
apiVersion: '2022-11-15',
});
}
}
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3513,7 +3513,7 @@ __metadata:
safe-regex2: ^3.1.0
secure-json-parse: 2.7.0
sinon: 17.0.0
stripe: 14.1.0
stripe: 12.17.0
supertest: ^6.3.3
ts-jest: 29.1.1
ts-loader: ^9.5.0
Expand Down Expand Up @@ -10925,13 +10925,13 @@ __metadata:
languageName: node
linkType: hard

"stripe@npm:14.1.0":
version: 14.1.0
resolution: "stripe@npm:14.1.0"
"stripe@npm:12.17.0":
version: 12.17.0
resolution: "stripe@npm:12.17.0"
dependencies:
"@types/node": ">=8.1.0"
qs: ^6.11.0
checksum: a35eec513d3b630a0989eb4154a211802833c18df45cb19a121ec41ecad120fa8104f20bb4fa33dc82bbd43e48ca76263c5611afaf80ac4fd3c116b4caa47357
checksum: ecd003fd47a8d6adfc77ba882ec222213559da020709eb7100e2788f80d8da34e2b8d416cf11bdb6fc5424622ff99414eea264b53c312f176aed6d88598226e9
languageName: node
linkType: hard

Expand Down

0 comments on commit bcb7871

Please sign in to comment.