Browse Source

feat(client): resolve type errors in web-authn service

pull/7175/head
KenTandrian 2 weeks ago
parent
commit
5651bde446
  1. 3
      apps/client/src/app/services/web-authn.service.ts

3
apps/client/src/app/services/web-authn.service.ts

@ -45,6 +45,9 @@ export class WebAuthnService {
return of(null); return of(null);
}), }),
switchMap((attOps) => { switchMap((attOps) => {
if (!attOps) {
throw new Error('Could not generate registration options');
}
return startRegistration({ optionsJSON: attOps }); return startRegistration({ optionsJSON: attOps });
}), }),
switchMap((credential) => { switchMap((credential) => {

Loading…
Cancel
Save