Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkue committed Oct 28, 2023
1 parent 0be9ba3 commit b18f458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/src/stripe/StripeEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class StripeEventHandler {
this.firestoreAdmin = firestoreAdmin;
this.stripe = new Stripe(apiKey, {
typescript: true,
apiVersion: '2023-08-16',
apiVersion: '2023-10-16',
});
}

Expand Down
1 change: 1 addition & 0 deletions shared/src/stripe/StripeWebhookHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ describe('stripeWebhook', () => {
quote: null,
receipt_number: '123',
rendering_options: null,
rendering: null,
shipping_cost: null,
shipping_details: null,
starting_balance: 0,
Expand Down
2 changes: 1 addition & 1 deletion shared/src/stripe/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import Stripe from 'stripe';
export const initializeStripe = (apiKey: string) => {
return new Stripe(apiKey, {
typescript: true,
apiVersion: '2023-08-16',
apiVersion: '2023-10-16',
});
};

0 comments on commit b18f458

Please sign in to comment.