mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Fixed logout issue
This commit is contained in:
@@ -140,7 +140,7 @@ export class AuthService {
|
||||
const person$ = this.rdbService.buildSingle<NormalizedEPerson, EPerson>(status.eperson.toString());
|
||||
return person$.pipe(map((eperson) => eperson.payload));
|
||||
} else {
|
||||
throw(new Error('Not authenticated'));
|
||||
Observable.throw(new Error('Not authenticated'));
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user