Skip to content

Commit

Permalink
Fix token refresh issue with invalid refresh token
Browse files Browse the repository at this point in the history
Now it is possible to refresh a session even when the refresh
token is invalid.
  • Loading branch information
schettn committed Sep 10, 2020
1 parent 7edb688 commit 8e3103d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/snek/tasks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class MainTask extends TaskError {
response = await this.session.ep.sendQuery<T>(query, variables);
}

this.handleErrors(response);

return response;
}
}
Expand Down

0 comments on commit 8e3103d

Please sign in to comment.