mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Added fix for getReportsbyParams
This commit is contained in:
parent
572d9b37e5
commit
f5db0dddc8
@ -185,7 +185,7 @@ export class AnalyticsService {
|
||||
|
||||
getReportsByParams(reportId: number, paramsQuery: any): Observable<any> {
|
||||
let url = `${this.alfrescoSettingsService.getBPMApiBaseUrl()}/app/rest/reporting/report-params/${reportId}`;
|
||||
let body = JSON.stringify(paramsQuery);
|
||||
let body = paramsQuery ? JSON.stringify(paramsQuery) : {};
|
||||
let options = this.getRequestOptions();
|
||||
return this.http
|
||||
.post(url, body, options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user