[hotfix] update route for resovlable configurations
*/
import { Observable } from 'rxjs';
-import {
- RuntimeOptionsRequest,
- RuntimeOptionsResponse
-} from '../../../core-model/gen/streampipes-model';
+import { RuntimeOptionsRequest, RuntimeOptionsResponse } from '../../../core-model/gen/streampipes-model';
import { map } from 'rxjs/operators';
import { HttpClient } from '@angular/common/http';
import { AuthStatusService } from '../../../services/auth-status.service';
@@ -38,8 +35,7 @@ export class RuntimeResolvableService {
fetchRemoteOptionsForAdapter(resolvableOptionsParameterRequest: RuntimeOptionsRequest, adapterId: string): Observable<RuntimeOptionsResponse> {
const url: string = '/streampipes-backend/api/v2/connect/'
- + this.authStatusService.email
- + '/master/resolvable/'
+ + 'master/resolvable/'
+ encodeURIComponent(adapterId)
+ '/configurations';
return this.fetchRemoteOptions(url, resolvableOptionsParameterRequest);
