Browse Source

Fix promise

pull/1874/head
Thomas 2 years ago
parent
commit
def2548aec
  1. 2
      apps/api/src/app/auth/web-auth.service.ts

2
apps/api/src/app/auth/web-auth.service.ts

@ -191,7 +191,7 @@ export class WebAuthService {
expectedOrigin: this.expectedOrigin,
expectedRPID: this.rpID
};
verification = verifyAuthenticationResponse(opts);
verification = await verifyAuthenticationResponse(opts);
} catch (error) {
Logger.error(error, 'WebAuthService');
throw new InternalServerErrorException({ error: error.message });

Loading…
Cancel
Save