fix: typo

This commit is contained in:
Derrick Hammer 2024-03-21 08:44:31 -04:00
parent a508347fb1
commit 8431f5c9f8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -298,13 +298,13 @@ export class AccountApi {
}
public async updatePassword(
currentPasswprd: string,
currentPassword: string,
newPassword: string,
): Promise<boolean | AccountError> {
let ret: AxiosResponse<void>;
try {
ret = await postApiAccountUpdatePassword(
{ current_password: currentPasswprd, new_password: newPassword },
{ current_password: currentPassword, new_password: newPassword },
this.buildOptions(),
);
} catch (e) {