mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
committed by
Andreas Schickinger
parent
0f81914875
commit
72b3688365
@@ -31,7 +31,7 @@ export class IsAuthenticatedGuard implements CanActivate {
|
||||
}
|
||||
|
||||
async scanAndGetToken(): Promise<string> {
|
||||
const result = await this._scanService.scan().toPromise();
|
||||
const result = await this._scanService.scan()?.toPromise();
|
||||
|
||||
if (typeof result === 'string') {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user