mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix: http client error due to dependency injection issue in datafactory
This commit is contained in:
1 file changed
+4
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user