Skip to content
Snippets Groups Projects
Commit e12b1b91 authored by stevereis's avatar stevereis
Browse files

hotfix: galaxy route missing

parent 958d0349
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,14 @@ export default class ExaremeService implements IEngineService {
.pipe(map((response) => response.data));
}
getPassthrough(suffix: string): string | Observable<string> {
const path = this.options.baseurl + suffix;
return this.httpService
.get<string>(path, { params: this.req.query })
.pipe(map((response) => response.data));
}
// UTILITIES
private flattenGroups = (data: Hierarchy): Group[] => {
let groups: Group[] = [dataToGroup(data)];
......
......@@ -69,4 +69,9 @@ export class EngineController {
logout(): void {
this.engineService.logout();
}
@Get('galaxy')
galaxy(): Observable<string> | string {
return this.engineService.getPassthrough?.('galaxy');
}
}
......@@ -61,4 +61,6 @@ export interface IEngineService {
editActiveUser(): Observable<string> | string;
logout(): void;
getPassthrough?(suffix: string): Observable<string> | string;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment