@@ -68,7 +68,7 @@ import { subscriptionProductMetadataValidator } from '../routes/validators';
6868import {
6969 formatMetadataValidationErrorMessage ,
7070 reportValidationError ,
71- } from 'fxa- shared/sentry/report-validation-error ' ;
71+ } from '@ fxa/ shared/sentry-node ' ;
7272import { AppConfig , AuthFirestore , AuthLogger , TaxAddress } from '../types' ;
7373import { PaymentConfigManager } from './configuration/manager' ;
7474import { CurrencyHelper } from './currencies' ;
@@ -3502,7 +3502,10 @@ export class StripeHelper extends StripeHelperBase {
35023502 return ;
35033503 }
35043504
3505- return this . stripeFirestore . fetchAndInsertCustomer ( customerId , event . created ) ;
3505+ return this . stripeFirestore . fetchAndInsertCustomer (
3506+ customerId ,
3507+ event . created
3508+ ) ;
35063509 }
35073510
35083511 /**
@@ -3525,7 +3528,10 @@ export class StripeHelper extends StripeHelperBase {
35253528 CUSTOMER_RESOURCE
35263529 ) ;
35273530 if ( ! customer . deleted && ! customer . currency ) {
3528- await this . stripeFirestore . fetchAndInsertCustomer ( customerId , event . created ) ;
3531+ await this . stripeFirestore . fetchAndInsertCustomer (
3532+ customerId ,
3533+ event . created
3534+ ) ;
35293535 const subscription =
35303536 await this . stripe . subscriptions . retrieve ( subscriptionId ) ;
35313537 return subscription ;
@@ -3566,7 +3572,10 @@ export class StripeHelper extends StripeHelperBase {
35663572 ) ;
35673573 } catch ( err ) {
35683574 if ( err . name === FirestoreStripeError . FIRESTORE_CUSTOMER_NOT_FOUND ) {
3569- await this . stripeFirestore . fetchAndInsertCustomer ( customerId , event . created ) ;
3575+ await this . stripeFirestore . fetchAndInsertCustomer (
3576+ customerId ,
3577+ event . created
3578+ ) ;
35703579 await this . stripeFirestore . fetchAndInsertInvoice (
35713580 invoiceId ,
35723581 event . created
0 commit comments