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

fix: Issue when logging out

Promise was not returned so the request was not waiting
for it to finish causing an error outside the try catch
parent 55f6c723
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ export default class EngineService implements Connector {
async logout(req: Request): Promise<void> {
await this.clearCache(req);
if (this.connector.logout) this.connector.logout(req);
if (this.connector.logout) return this.connector.logout(req);
}
/**
......
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