Merged PR 1137: #2951 Fix Scanner PopUp

#2951 Fix Scanner PopUp
This commit is contained in:
Nino Righi
2022-03-28 14:48:35 +00:00
committed by Andreas Schickinger
parent 0f81914875
commit 72b3688365
2 changed files with 4 additions and 2 deletions

View File

@@ -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 {