From 673b0f6b5c2c182f9a5d3532520f1d1aa9dba256 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 5 Feb 2019 12:51:36 +0000 Subject: [PATCH] remove providers from Coremodule to avoid double loading api-service (#4267) --- lib/core/core.module.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/core/core.module.ts b/lib/core/core.module.ts index 219a9f5faf..0a20447316 100644 --- a/lib/core/core.module.ts +++ b/lib/core/core.module.ts @@ -208,16 +208,6 @@ export class CoreModuleLazy { TemplateModule, SortingPickerModule, IconModule - ], - providers: [ - { - provide: APP_INITIALIZER, - useFactory: startupServiceFactory, - deps: [ - AlfrescoApiService - ], - multi: true - } ] }) export class CoreModule {