mirror of https://gitee.com/answerdev/answer.git
Merge pull request #42 from geekymv/answer-bugfix
Fix bug #41 Change password does not work
This commit is contained in:
commit
e1003ed65c
|
@ -120,7 +120,7 @@ export const getUserInfo = () => {
|
|||
};
|
||||
|
||||
export const modifyPassword = (params: Type.ModifyPasswordReq) => {
|
||||
return request.post('/answer/api/v1/user/password/modify', params);
|
||||
return request.put('/answer/api/v1/user/password', params);
|
||||
};
|
||||
|
||||
export const modifyUserInfo = (params: Type.ModifyUserReq) => {
|
||||
|
|
Loading…
Reference in New Issue