Compare commits
No commits in common. "ef3d0d3fbc17408e9e6aa157464b85e2da54dbd0" and "c0345dec11a0940f25dbd278b530f7480082a989" have entirely different histories.
ef3d0d3fbc
...
c0345dec11
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue