diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 456b834ec390edc088a779436595553ff30e7fc0..8133ac10391fb9baa9b62a286987c7e2d4b7ba0d 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -55,7 +55,7 @@ export class LoginComponent extends BaseUnsubscribe implements OnInit { if (this.userCredencialIsValid()) { const options = this.httpService.getRequestOptionsWithSearchParams(new Map<string, string>([['origin', 'SimCAQ'], ['email', this.userCredential.email]])); - this.httpService.get<any>(`${this.httpService.apiEndpointDadosEducacionaisHomV1}/user/reset/password`, options).pipe( + this.httpService.get<any>(`${this.httpService.apiEndpointDadosEducacionaisV1}/user/reset/password`, options).pipe( takeUntil(this.unsubscribe)) .subscribe( (retorno) => {