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 1d67a2735be..a14cd1dd8c3 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 fe2f5c74905..07556489de5 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 {