Skip to content

Commit 8e3103d

Browse files
committed
Fix token refresh issue with invalid refresh token
Now it is possible to refresh a session even when the refresh token is invalid.
1 parent 7edb688 commit 8e3103d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/templates/snek/tasks/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class MainTask extends TaskError {
4646
response = await this.session.ep.sendQuery<T>(query, variables);
4747
}
4848

49+
this.handleErrors(response);
50+
4951
return response;
5052
}
5153
}

0 commit comments

Comments
 (0)