Skip to content
Snippets Groups Projects
Commit c49a30d9 authored by Steve Reis's avatar Steve Reis
Browse files

fix(exareme): Issue with logout response status from portalbackend

parent 8feed419
No related branches found
Tags 1.4.0-beta.3
No related merge requests found
...@@ -77,7 +77,12 @@ export default class ExaremeConnector implements Connector { ...@@ -77,7 +77,12 @@ export default class ExaremeConnector implements Connector {
async logout(request: Request) { async logout(request: Request) {
const path = `${this.options.baseurl}logout`; const path = `${this.options.baseurl}logout`;
await firstValueFrom(this.get(request, path)); await firstValueFrom(
this.get(request, path, {
maxRedirects: 0,
validateStatus: (status) => status >= 200 && status <= 302,
}),
);
} }
async createExperiment( async createExperiment(
......
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