From c077687e92ce1cf8466fde89f58ff09716d4ad8a Mon Sep 17 00:00:00 2001 From: Joel Lee Date: Fri, 11 Oct 2024 11:06:23 +0200 Subject: [PATCH] fix: correct db naming of aaguid --- internal/models/factor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/models/factor.go b/internal/models/factor.go index d0b4c4fdc..25e2ab9f9 100644 --- a/internal/models/factor.go +++ b/internal/models/factor.go @@ -140,7 +140,7 @@ type Factor struct { Phone storage.NullString `json:"phone" db:"phone"` LastChallengedAt *time.Time `json:"last_challenged_at" db:"last_challenged_at"` WebAuthnCredential *WebAuthnCredential `json:"-" db:"web_authn_credential"` - WebAuthnAAGUID *uuid.UUID `json:"web_authn_aaguid,omitempty" db:"aaguid"` + WebAuthnAAGUID *uuid.UUID `json:"web_authn_aaguid,omitempty" db:"web_authn_aaguid"` } type WebAuthnCredential struct {