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
Hello
I think plugin-axios response on catch() and then() same format is better because then, catch inside method can be access this.model , this.entities
now
catch() to same format as then() is ok. or then response only data is ok.
return this.post('').then((response) => { console.log(response) })
return this.post('').catch((response) => { console.log(response) })
What are your thoughts on this matter?
The text was updated successfully, but these errors were encountered:
Ah I didn't see this differences. Thank you for pointing out! We should look into this on the next iteration of Axios plugin.
Sorry, something went wrong.
No branches or pull requests
Hello
I think plugin-axios response on catch() and then() same format is better
because then, catch inside method can be access this.model , this.entities
now
catch() to same format as then() is ok.
or then response only data is ok.
return this.post('').then((response) => { console.log(response) })
return this.post('').catch((response) => { console.log(response) })
What are your thoughts on this matter?
The text was updated successfully, but these errors were encountered: