|
|
|
@ -12,7 +12,7 @@ export class AccountService { |
|
|
|
register = (input: RegisterDto) => |
|
|
|
this.restService.request<any, IdentityUserDto>({ |
|
|
|
method: 'POST', |
|
|
|
url: `/api/account/register`, |
|
|
|
url: '/api/account/register', |
|
|
|
body: input, |
|
|
|
}, |
|
|
|
{ apiName: this.apiName }); |
|
|
|
@ -20,7 +20,7 @@ export class AccountService { |
|
|
|
resetPassword = (input: ResetPasswordDto) => |
|
|
|
this.restService.request<any, void>({ |
|
|
|
method: 'POST', |
|
|
|
url: `/api/account/reset-password`, |
|
|
|
url: '/api/account/reset-password', |
|
|
|
body: input, |
|
|
|
}, |
|
|
|
{ apiName: this.apiName }); |
|
|
|
@ -28,7 +28,7 @@ export class AccountService { |
|
|
|
sendPasswordResetCode = (input: SendPasswordResetCodeDto) => |
|
|
|
this.restService.request<any, void>({ |
|
|
|
method: 'POST', |
|
|
|
url: `/api/account/send-password-reset-code`, |
|
|
|
url: '/api/account/send-password-reset-code', |
|
|
|
body: input, |
|
|
|
}, |
|
|
|
{ apiName: this.apiName }); |
|
|
|
|