Add support for changing account password
This commit is contained in:
parent
d43b7ea5bc
commit
438f1b06b9
7 changed files with 38 additions and 13 deletions
|
@ -8,7 +8,7 @@ interface Data {
|
|||
|
||||
export default ({ current, password, confirmPassword }: Data): Promise<void> => {
|
||||
return new Promise((resolve, reject) => {
|
||||
http.put('/account/password', {
|
||||
http.put('/api/client/account/password', {
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
current_password: current,
|
||||
password: password,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue