Project

General

Profile

« Previous | Next » 

Revision 59474

[Library | Trunk]: Help content service remove duplicate function

View differences:

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