Skip to content
Snippets Groups Projects

update service name as pointed out by @dahousecat

Files
2
@@ -81,7 +81,7 @@ final class PublicKeyCredentialSource extends ContentEntityBase implements Publi
}
$uuid = \Drupal::service('uuid');
/** @var \Drupal\webauthn_framework\WebauthnInterface $webauthn_framework */
$webauthn_framework = \Drupal::service('webauthn.framework');
$webauthn_framework = \Drupal::service('webauthn_framework.webauthn');
$entity_values = [
'uuid' => $uuid->generate(),
'uid' => \Drupal::currentUser()->id(),
Loading