Skip to content

Commit

Permalink
Update README.md. - Change .then to .finally in example code (#2090)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinarycas authored and emilyemorehouse committed May 7, 2019
1 parent b7a9744 commit 48c43d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -66,7 +66,7 @@ axios.get('/user?ID=12345')
// handle error
console.log(error);
})
.then(function () {
.finally(function () {
// always executed
});

Expand Down

0 comments on commit 48c43d5

Please sign in to comment.