MCPcopy Create free account
hub / github.com/supabase/auth / UpdatePhone

Method UpdatePhone

internal/models/factor.go:389–392  ·  view source on GitHub ↗
(tx *storage.Connection, phone string)

Source from the content-addressed store, hash-verified

387}
388
389func (f *Factor) UpdatePhone(tx *storage.Connection, phone string) error {
390 f.Phone = storage.NullString(phone)
391 return tx.UpdateOnly(f, "phone", "updated_at")
392}
393
394// UpdateStatus modifies the factor status
395func (f *Factor) UpdateStatus(tx *storage.Connection, state FactorState) error {

Callers 1

adminUserUpdateFactorMethod · 0.80

Calls 2

NullStringTypeAlias · 0.92
UpdateOnlyMethod · 0.80

Tested by

no test coverage detected