mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -36,8 +36,8 @@ export class DiscoveryApiService {
|
||||
public getEcmProductInfo(): Observable<EcmProductVersionModel> {
|
||||
return from(this.apiService.getInstance().discovery.discoveryApi.getRepositoryInformation())
|
||||
.pipe(
|
||||
map(res => new EcmProductVersionModel(res)),
|
||||
catchError(err => throwError(err))
|
||||
map((res) => new EcmProductVersionModel(res)),
|
||||
catchError((err) => throwError(err))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ export class DiscoveryApiService {
|
||||
public getBpmProductInfo(): Observable<BpmProductVersionModel> {
|
||||
return from(this.apiService.getInstance().activiti.aboutApi.getAppVersion())
|
||||
.pipe(
|
||||
map(res => new BpmProductVersionModel(res)),
|
||||
catchError(err => throwError(err))
|
||||
map((res) => new BpmProductVersionModel(res)),
|
||||
catchError((err) => throwError(err))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user