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?', () => {
|
||||
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', () => {
|
||||
});
|
||||
|
||||
});
|
||||
/**/
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user