(tx *storage.Connection, phone string)
| 387 | } |
| 388 | |
| 389 | func (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 |
| 395 | func (f *Factor) UpdateStatus(tx *storage.Connection, state FactorState) error { |
no test coverage detected