Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(actions): in awral fix this.fail
Browse files Browse the repository at this point in the history
fix(actions): in awral fix this.fail
  • Loading branch information
Metnew committed Dec 5, 2017
1 parent 84f8aa8 commit af4ae75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/actions/utils/awral.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function Awral (asyncFunction) {
if (isSuccess) {
this.success({...defaultArgs, payload})
} else {
this.fail({...defaultArgs, payload, status})
this.fail({...defaultArgs, payload, error: true})
}
this.finally && this.finally(defaultArgs)
return this.resolve({payload, status})
Expand Down

0 comments on commit af4ae75

Please sign in to comment.