oauth2-client icon indicating copy to clipboard operation
oauth2-client copied to clipboard

'c is undefined'

Open obiwanjacobi opened this issue 2 years ago • 0 comments

https://github.com/badgateway/oauth2-client/blob/7ce4f29a1c3bfc1547df3326f67a07aeed48ec05/src/client.ts#L427

Shouldn't if (responseBody.error) { read if (responseBody?.error) { because the responseBody might not be retrieved?

obiwanjacobi avatar Feb 13 '24 10:02 obiwanjacobi