mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
78849: Fix lint issues
This commit is contained in:
@@ -99,8 +99,8 @@ describe('EpersonRegistrationService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should use cached responses and /registrations/search/findByToken?', () => {
|
it('should use cached responses and /registrations/search/findByToken?', () => {
|
||||||
testScheduler.run(({ cold, expectObservable }) => {
|
testScheduler.run(({ tscold, expectObservable }) => {
|
||||||
rdbService.buildSingle.and.returnValue(cold('a', { a: rd }));
|
rdbService.buildSingle.and.returnValue(tscold('a', { a: rd }));
|
||||||
|
|
||||||
service.searchByToken('test-token');
|
service.searchByToken('test-token');
|
||||||
|
|
||||||
@@ -119,3 +119,4 @@ describe('EpersonRegistrationService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
/**/
|
||||||
|
@@ -84,7 +84,7 @@ export class EpersonRegistrationService {
|
|||||||
|
|
||||||
const href$ = this.getTokenSearchEndpoint(token).pipe(
|
const href$ = this.getTokenSearchEndpoint(token).pipe(
|
||||||
find((href: string) => hasValue(href)),
|
find((href: string) => hasValue(href)),
|
||||||
)
|
);
|
||||||
|
|
||||||
href$.subscribe((href: string) => {
|
href$.subscribe((href: string) => {
|
||||||
const request = new GetRequest(requestId, href);
|
const request = new GetRequest(requestId, href);
|
||||||
|
Reference in New Issue
Block a user