@@ -18,6 +18,8 @@
"user_id": 1
}).then(res => {
console.log(res.data);
+ }).catch(function (error) {
+ alert(error);
});
}