Skip to content

Commit

Permalink
fix: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Nov 1, 2024
1 parent a7129df commit b197734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/models/factor.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (f *Factor) SaveWebAuthnCredential(tx *storage.Connection, credential *weba
f.WebAuthnAAGUID = nil
}

return tx.UpdateOnly(f, "web_authn_credential", "aaguid", "updated_at")
return tx.UpdateOnly(f, "web_authn_credential", "web_authn_aaguid", "updated_at")
}

func FindFactorByFactorID(conn *storage.Connection, factorID uuid.UUID) (*Factor, error) {
Expand Down

0 comments on commit b197734

Please sign in to comment.