fix: http client error due to dependency injection issue in datafactory

This commit is contained in:
Abdullah Ceylan committed 2024-11-28 15:12:40 +00:00
1 parent f70cd73af0
commit 032f91a5c1
1 file changed
+4 -1
+4 -1
View File
@@ -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();
}