Revision 59474
Added by Konstantinos Triantafyllou over 3 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/services/help-content.service.ts | ||
---|---|---|
399 | 399 |
const url = apiURL + '/statistics/' + encodeURIComponent(id) + '/toggle'; |
400 | 400 |
return this.http.post<boolean>(url, {}, CustomOptions.getAuthOptionsWithBody()).pipe(catchError(this.handleError)); |
401 | 401 |
} |
402 |
|
|
403 |
statisticsIsActiveToggle(apiURL: string, id: string): Observable<boolean> { |
|
404 |
const url = apiURL + '/statistics/' + encodeURIComponent(id) + '/toggle'; |
|
405 |
return this.http.post<boolean>(url, {}, CustomOptions.getAuthOptionsWithBody()).pipe(catchError(this.handleError)); |
|
406 |
} |
|
407 | 402 |
} |
Also available in: Unified diff
[Library | Trunk]: Help content service remove duplicate function