Use a standardized transformer base; replace all client transformers to call that base

This commit is contained in:
Dane Everitt
2021-08-07 13:06:45 -07:00
parent 2203a4d87e
commit cf500a1a54
25 changed files with 255 additions and 379 deletions

View File

@@ -9,6 +9,8 @@ class WebauthnKey extends \LaravelWebauthn\Models\WebauthnKey
{
use HasFactory;
public const RESOURCE_NAME = 'webauthn_key';
public function user(): BelongsTo
{
return $this->belongsTo(User::class);