pollTask resolves with full response data
This commit is contained in:
parent
2f9eef920a
commit
5f19d6392f
1 changed files with 2 additions and 2 deletions
|
|
@ -155,7 +155,7 @@ export default new Vuex.Store({
|
|||
var result = response.data.status
|
||||
// If the task ends with success
|
||||
if(result == 'success') {
|
||||
resolve(response.data.return)
|
||||
resolve(response.data)
|
||||
}
|
||||
// If task ends with an error
|
||||
else if (result == 'error') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue