diff --git a/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts b/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts index 45bf752..126e93d 100644 --- a/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts +++ b/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts @@ -9,7 +9,7 @@ import { apiClient } from '../../../../../../core/lib/api-client'; import { FullPageRemoteDataServices } from '../../data/full-page.remote.service'; -import { FullPageModuleConfig } from '../constants/full-page.constants'; +import { fullPageModuleConfig } from '../constants/full-page.constants'; import { FullPageRemoteDataTransformer } from '../transformers/full-page.remote.transformer'; /** @@ -24,7 +24,7 @@ export const fullPageDataTransformer = new FullPageRemoteDataTransformer(); * It is fully wired with the HTTP client and automatically handles data mapping via the injected transformer. */ export const fullPageDataService = new FullPageRemoteDataServices(apiClient, { - apiUrl: FullPageModuleConfig.apiUrl, - moduleKey: FullPageModuleConfig.moduleKey, + apiUrl: fullPageModuleConfig.apiUrl, + moduleKey: fullPageModuleConfig.moduleKey, transformer: fullPageDataTransformer, }); diff --git a/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts b/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts index 30cfe38..4b5550e 100644 --- a/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts +++ b/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts @@ -9,7 +9,7 @@ import { apiClient } from '../../../../../../core/lib/api-client'; import { SinglePageRemoteDataServices } from '../../data/single-page.remote.service'; -import { SinglePageModuleConfig } from '../constants/single-page.constants'; +import { singlePageModuleConfig } from '../constants/single-page.constants'; import { SinglePageRemoteDataTransformer } from '../transformers/single-page.remote.transformer'; /** @@ -24,7 +24,7 @@ export const singlePageDataTransformer = new SinglePageRemoteDataTransformer(); * It is fully wired with the HTTP client and automatically handles data mapping via the injected transformer. */ export const singlePageDataService = new SinglePageRemoteDataServices(apiClient, { - apiUrl: SinglePageModuleConfig.apiUrl, - moduleKey: SinglePageModuleConfig.moduleKey, + apiUrl: singlePageModuleConfig.apiUrl, + moduleKey: singlePageModuleConfig.moduleKey, transformer: singlePageDataTransformer, });