test if we can remove compatibility (#7064)

remove compatibility
This commit is contained in:
Eugenio Romano
2021-06-10 14:38:12 +02:00
committed by GitHub
parent 4dc98eb288
commit 558056b05c
125 changed files with 1025 additions and 1017 deletions

View File

@@ -33,6 +33,7 @@ import {
SitesApi
} from '@alfresco/js-api';
import { catchError } from 'rxjs/operators';
import { LogService } from './log.service';
@Injectable({
providedIn: 'root'
@@ -41,7 +42,7 @@ export class SitesService {
sitesApi: SitesApi;
constructor(private apiService: AlfrescoApiService) {
constructor(private apiService: AlfrescoApiService, private logService: LogService) {
this.sitesApi = new SitesApi(apiService.getInstance());
}
@@ -305,7 +306,7 @@ export class SitesService {
}
private handleError(error: any): Observable<never> {
console.error(error);
this.logService.error(error);
return throwError(error || 'Server error');
}
}