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, OTPVerifyRequest,
PasswordResetVerifyRequest, PasswordResetVerifyRequest,
PingResponse, PingResponse,
postApiAccountPasswordResetRequest, postApiAuthPasswordResetRequest,
postApiAuthPing, postApiAuthPing,
RegisterRequest, RegisterRequest,
UploadLimitResponse, UploadLimitResponse,
@ -154,7 +154,7 @@ export class AccountApi {
): Promise<boolean> { ): Promise<boolean> {
let ret: AxiosResponse<void>; let ret: AxiosResponse<void>;
try { try {
ret = await postApiAccountPasswordResetRequest( ret = await postApiAuthPasswordResetRequest(
passwordResetRequest, passwordResetRequest,
this.buildOptions(), this.buildOptions(),
); );
@ -241,7 +241,7 @@ export class AccountApi {
this.buildOptions(), this.buildOptions(),
); );
} catch (e) { } 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); return this.checkSuccessBool(ret);