|
@@ -97,6 +97,7 @@ const actions = {
|
|
|
let key = localStorage.removeItem('token');
|
|
|
const res = await this.$axios.$post(api.logout, { key: key });
|
|
|
commit('deleteUser');
|
|
|
+ return res;
|
|
|
},
|
|
|
async update({ commit }, payload) {
|
|
|
let res = await this.$axios.$post(`${api.updatePassword}`, {
|