зеркало из https://github.com/mozilla/fxa.git
fix(cart): remove updateAt on createAccountCustomer
Because: - AccountCustomerManager.createAccountCustomer included updateAt as a parameter even though it wasn't used. This commit: - Remove updateAt from createAccountCustomer and update related files. Closes #
This commit is contained in:
Родитель
7798b2b631
Коммит
7573630585
|
@ -270,7 +270,6 @@ describe('CheckoutService', () => {
|
|||
).toHaveBeenCalledWith({
|
||||
uid: uid,
|
||||
stripeCustomerId: mockCart.stripeCustomerId,
|
||||
updatedAt: Date.now(),
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -80,7 +80,6 @@ export class CheckoutService {
|
|||
await this.accountCustomerManager.createAccountCustomer({
|
||||
uid: uid,
|
||||
stripeCustomerId: stripeCustomerId,
|
||||
updatedAt: Date.now(),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ export const CreateAccountCustomerFactory = (
|
|||
stripeCustomerId: faker.string.alphanumeric({
|
||||
length: 14,
|
||||
}),
|
||||
updatedAt: faker.date.recent().getTime(),
|
||||
...override,
|
||||
});
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ export type ResultAccountCustomer = Readonly<Omit<AccountCustomer, 'uid'>> & {
|
|||
export interface CreateAccountCustomer {
|
||||
uid: string;
|
||||
stripeCustomerId: string | null;
|
||||
updatedAt: number;
|
||||
}
|
||||
|
||||
export interface UpdateAccountCustomer {
|
||||
|
|
Загрузка…
Ссылка в новой задаче