78849: Fix lint issues

This commit is contained in:
Yura Bondarenko
2021-04-29 13:57:31 +02:00
parent 781a88bc4c
commit 032231f10e
2 changed files with 4 additions and 3 deletions

View File

@@ -99,8 +99,8 @@ describe('EpersonRegistrationService', () => {
});
it('should use cached responses and /registrations/search/findByToken?', () => {
testScheduler.run(({ cold, expectObservable }) => {
rdbService.buildSingle.and.returnValue(cold('a', { a: rd }));
testScheduler.run(({ tscold, expectObservable }) => {
rdbService.buildSingle.and.returnValue(tscold('a', { a: rd }));
service.searchByToken('test-token');
@@ -119,3 +119,4 @@ describe('EpersonRegistrationService', () => {
});
});
/**/

View File

@@ -84,7 +84,7 @@ export class EpersonRegistrationService {
const href$ = this.getTokenSearchEndpoint(token).pipe(
find((href: string) => hasValue(href)),
)
);
href$.subscribe((href: string) => {
const request = new GetRequest(requestId, href);