We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9128b1f commit 843eb9dCopy full SHA for 843eb9d
src/client/client.ts
@@ -60,6 +60,11 @@ export class JikeClient {
60
const response = error.response
61
if (response.status !== 401) return false
62
63
+ // don't retry when renewing token
64
+ if (request.url.includes('app_auth_tokens.refresh')) {
65
+ return false
66
+ }
67
+
68
await this.renewToken()
69
request.headers.set(
70
`x-${this.#config.endpointId}-access-token`,
0 commit comments