()
| 89 | "statuses_count": statusesCount, |
| 90 | "last_status_at": createdAt, |
| 91 | }).Error |
| 92 | } |
| 93 | |
| 94 | func (st *Status) maybeScheduleActorRefresh(tx *gorm.DB) error { |
| 95 | if st.Actor == nil { |
| 96 | return fmt.Errorf("status %d has no actor", st.ID) |
nothing calls this directly
no outgoing calls
no test coverage detected