From e290492d14f858197647c22226a26d591cebb173 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Tue, 11 Oct 2022 15:39:20 -0400 Subject: [PATCH] [PS-1569] Fix spelling of totpServiceFactory (#3746) --- .../background/service_factories/autofill-service.factory.ts | 4 ++-- .../src/background/service_factories/totp-service.factory.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/browser/src/background/service_factories/autofill-service.factory.ts b/apps/browser/src/background/service_factories/autofill-service.factory.ts index 1d67a2735b..a14cd1dd8c 100644 --- a/apps/browser/src/background/service_factories/autofill-service.factory.ts +++ b/apps/browser/src/background/service_factories/autofill-service.factory.ts @@ -6,7 +6,7 @@ import { EventServiceInitOptions, eventServiceFactory } from "./event-service.fa import { CachedServices, factory, FactoryOptions } from "./factory-options"; import { logServiceFactory, LogServiceInitOptions } from "./log-service.factory"; import { stateServiceFactory, StateServiceInitOptions } from "./state-service.factory"; -import { totpServiceFacotry, TotpServiceInitOptions } from "./totp-service.factory"; +import { totpServiceFactory, TotpServiceInitOptions } from "./totp-service.factory"; type AutoFillServiceOptions = FactoryOptions; @@ -29,7 +29,7 @@ export function autofillServiceFactory( new AutofillService( await cipherServiceFactory(cache, opts), await stateServiceFactory(cache, opts), - await totpServiceFacotry(cache, opts), + await totpServiceFactory(cache, opts), await eventServiceFactory(cache, opts), await logServiceFactory(cache, opts) ) diff --git a/apps/browser/src/background/service_factories/totp-service.factory.ts b/apps/browser/src/background/service_factories/totp-service.factory.ts index fe2f5c7490..07556489de 100644 --- a/apps/browser/src/background/service_factories/totp-service.factory.ts +++ b/apps/browser/src/background/service_factories/totp-service.factory.ts @@ -14,7 +14,7 @@ export type TotpServiceInitOptions = TotpServiceOptions & CryptoFunctionServiceInitOptions & LogServiceInitOptions; -export function totpServiceFacotry( +export function totpServiceFactory( cache: { totpService?: AbstractTotpService } & CachedServices, opts: TotpServiceInitOptions ): Promise {