Compare commits

..

No commits in common. "ef3d0d3fbc17408e9e6aa157464b85e2da54dbd0" and "c0345dec11a0940f25dbd278b530f7480082a989" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import {
OTPVerifyRequest,
PasswordResetVerifyRequest,
PingResponse,
postApiAccountPasswordResetRequest,
postApiAuthPasswordResetRequest,
postApiAuthPing,
RegisterRequest,
UploadLimitResponse,
@ -154,7 +154,7 @@ export class AccountApi {
): Promise<boolean> {
let ret: AxiosResponse<void>;
try {
ret = await postApiAccountPasswordResetRequest(
ret = await postApiAuthPasswordResetRequest(
passwordResetRequest,
this.buildOptions(),
);
@ -241,7 +241,7 @@ export class AccountApi {
this.buildOptions(),
);
} catch (e) {
return new Error((e as AxiosError).response?.data as string);
return new Error((e as AxiosError).response.data as string);
}
return this.checkSuccessBool(ret);