Hey,
I'm not sure if this is a recent change by Apple but readAll stopped working for me. I'm getting an empty object {} for API calls that used to work.
Upon debugging, it seems like the isJson check is failing, what I ended up doing is locally patching the following line
const isJson = (contentType === 'application/json' || contentType === 'application/vnd.api+json');
to
const isJson = (contentType === 'application/json' || contentType === 'application/json;' || contentType === 'application/vnd.api+json');
and everything is working again.
ty for this library btw, really useful ;)
Hey,
I'm not sure if this is a recent change by Apple but
readAllstopped working for me. I'm getting an empty object{}for API calls that used to work.Upon debugging, it seems like the
isJsoncheck is failing, what I ended up doing is locally patching the following lineto
and everything is working again.
ty for this library btw, really useful ;)