mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
support update user profile
This commit is contained in:
@@ -72,4 +72,11 @@ export default {
|
||||
refreshToken: () => {
|
||||
return axios.post('v1/tokens/refresh.json');
|
||||
},
|
||||
updateProfile: ({ email, nickname, password }) => {
|
||||
return axios.post('v1/users/profile/update.json', {
|
||||
email,
|
||||
nickname,
|
||||
password
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user