2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

Update README.md. - Change .then to .finally in example code (#2090)

This commit is contained in:
Omar Cai
2019-05-08 04:01:44 +08:00
committed by Emily Morehouse
parent b7a9744518
commit 48c43d5240
+1 -1
View File
@@ -66,7 +66,7 @@ axios.get('/user?ID=12345')
// handle error
console.log(error);
})
.then(function () {
.finally(function () {
// always executed
});