-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
- api response on then(response) format is response.response.data
- api response on catch(response) format is response.data
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?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request