- /**
- * Gets version details
- * @returns Observable that should yield a String
- */
- getVersion(): Observable<string> {
- const url = this.buildPath('version');
- return this.httpClient.get<ControlpanelSuccessTransport>(url).pipe(
- // Extract the string here
- map(res => res['data'])
- );
+ getProducerIds(): Observable<string[]> {
+ const url = this.buildPath(this.eiProducersPath);
+ return this.httpClient.get<string[]>(url);