From def2548aec788b4260f34821a5a7630be475a1b8 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sun, 30 Jul 2023 18:46:35 +0200 Subject: [PATCH] Fix promise --- apps/api/src/app/auth/web-auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/auth/web-auth.service.ts b/apps/api/src/app/auth/web-auth.service.ts index 471b77709..3eb95d975 100644 --- a/apps/api/src/app/auth/web-auth.service.ts +++ b/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 });