Compare commits
No commits in common. "8431f5c9f8556250d53743d95273072f620cdde7" and "55fc51ad0af283447b7ec69de8b97a6e9f68656c" have entirely different histories.
8431f5c9f8
...
55fc51ad0a
|
@ -298,13 +298,13 @@ export class AccountApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async updatePassword(
|
public async updatePassword(
|
||||||
currentPassword: string,
|
currentPasswprd: string,
|
||||||
newPassword: string,
|
newPassword: string,
|
||||||
): Promise<boolean | AccountError> {
|
): Promise<boolean | AccountError> {
|
||||||
let ret: AxiosResponse<void>;
|
let ret: AxiosResponse<void>;
|
||||||
try {
|
try {
|
||||||
ret = await postApiAccountUpdatePassword(
|
ret = await postApiAccountUpdatePassword(
|
||||||
{ current_password: currentPassword, new_password: newPassword },
|
{ current_password: currentPasswprd, new_password: newPassword },
|
||||||
this.buildOptions(),
|
this.buildOptions(),
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
export * from './sdk.js';
|
export * from "./sdk.js";
|
||||||
export * from './account/generated/openapi.schemas.js';
|
export * from "./account/generated/openapi.schemas.js";
|
||||||
export * from './protocol/index.js';
|
export * from "./protocol/index.js";
|
||||||
export { AccountError } from './account.js';
|
|
||||||
|
|
Loading…
Reference in New Issue