Remove circular dependency.

This commit is contained in:
Spencer Ofwiti 2021-03-15 08:53:33 +03:00
parent 3fc21c25ae
commit f3c14578da
3 changed files with 4 additions and 5 deletions

View File

@ -1,13 +1,12 @@
import {ErrorHandler, Injectable} from '@angular/core';
import {LoggingService} from '@app/_services';
import {LoggingService} from '@app/_services/logging.service';
import {HttpErrorResponse} from '@angular/common/http';
@Injectable()
export class GlobalErrorHandler extends ErrorHandler {
private sentencesForWarningLogging: string[] = [];
private loggingService: LoggingService;
constructor() {
constructor(private loggingService: LoggingService) {
super();
}

View File

@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import {BehaviorSubject} from 'rxjs';
import {environment} from '@src/environments/environment';
import {first} from 'rxjs/operators';
import {HttpWrapperService} from '@app/_services/';
import {HttpWrapperService} from '@app/_services/http-wrapper.service';
@Injectable({
providedIn: 'root'

View File

@ -10,7 +10,7 @@ export const environment = {
level: NgxLoggerLevel.TRACE,
serverLogLevel: NgxLoggerLevel.ERROR,
loggingUrl: 'http://localhost:8000',
cicAuthUrl: 'https://meta.dev.grassrootseconomics.net',
cicAuthUrl: 'http://localhost:8080',
cicMetaUrl: 'http://localhost:63380',
publicKeysUrl: 'http://localhost:8000',
cicCacheUrl: 'http://localhost:63313',