diff --git a/src/account.ts b/src/account.ts index 2477f73..50b0132 100644 --- a/src/account.ts +++ b/src/account.ts @@ -298,13 +298,13 @@ export class AccountApi { } public async updatePassword( - currentPasswprd: string, + currentPassword: string, newPassword: string, ): Promise { let ret: AxiosResponse; try { ret = await postApiAccountUpdatePassword( - { current_password: currentPasswprd, new_password: newPassword }, + { current_password: currentPassword, new_password: newPassword }, this.buildOptions(), ); } catch (e) {