Compare commits
2 Commits
55fc51ad0a
...
8431f5c9f8
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 8431f5c9f8 | |
Derrick Hammer | a508347fb1 |
|
@ -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) {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
export * from "./sdk.js";
|
||||
export * from "./account/generated/openapi.schemas.js";
|
||||
export * from "./protocol/index.js";
|
||||
export * from './sdk.js';
|
||||
export * from './account/generated/openapi.schemas.js';
|
||||
export * from './protocol/index.js';
|
||||
export { AccountError } from './account.js';
|
||||
|
|
Loading…
Reference in New Issue