From 032f91a5c1178a092639c4a7a8f0d43a8712e2d6 Mon Sep 17 00:00:00 2001 From: Abdullah Ceylan Date: Thu, 28 Nov 2024 15:12:40 +0000 Subject: [PATCH] fix: http client error due to dependency injection issue in datafactory --- src/app/app.module.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f116a2905..18aa11225 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -48,7 +48,10 @@ function isTauri() { /** * Conditionally imports the necessary service based on the current environment */ -export function DataFactory(http: HttpClient) { +export function DataFactory( + ngxIndexedDBService: NgxIndexedDBService, + http: HttpClient +) { if (isElectron()) { return new ElectronService(); }