We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redux-requests/src/ts/utils.ts
Line 71 in b55ef48
There seems to be an issue here with React Native and a GET request that contains data: {} in the config. The request is never sent.
data: {}
If I change the data in the config to data: undefined it works.
data: undefined
Works fine for POST requests just those pesky GET s
POST
GET
I'd recommend changing data: options.data || {} to data: options.data || undefined - @JakeSidSmith can you see any issue with this on web?
data: options.data || {}
data: options.data || undefined
The text was updated successfully, but these errors were encountered:
Shouldn't need the || undefined, just use options.data and it may be undefined?
|| undefined
options.data
undefined
Sorry, something went wrong.
JakeSidSmith
No branches or pull requests
redux-requests/src/ts/utils.ts
Line 71 in b55ef48
There seems to be an issue here with React Native and a GET request that contains
data: {}
in the config. The request is never sent.If I change the data in the config to
data: undefined
it works.Works fine for
POST
requests just those peskyGET
sI'd recommend changing
data: options.data || {}
todata: options.data || undefined
- @JakeSidSmith can you see any issue with this on web?The text was updated successfully, but these errors were encountered: