apollo-link-token-refresh
apollo-link-token-refresh copied to clipboard
Not accepting multiple layer of object in response
I've been encountering errors while using this library. If it is a direct single object or one-dimensional object it is working. However, if the response from API consists of multiple layers of an object, the handleFetch will not work.
{ "tokenDetails": { "data": { "token": "token", "refreshtoken": "refreshtoken" } } }
I am using fetch query same as the tutorial.
Same issue