Merge pull request #42 from geekymv/answer-bugfix

Fix bug #41 Change password does not work
This commit is contained in:
robin 2022-10-28 14:30:51 +08:00 committed by GitHub
commit e1003ed65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {