another style pass

This commit is contained in:
2026-03-12 11:58:16 -06:00
parent 7e34c33e58
commit b69a5e57a2
8 changed files with 29 additions and 49 deletions
+2 -2
View File
@@ -1115,9 +1115,9 @@ func AmListConferences(ctx context.Context, cid int32, showHidden bool) ([]*Conf
}
rc := make([]*ConferenceSummary, 0)
for rs.Next() {
var cs ConferenceSummary
cs := new(ConferenceSummary)
if err = rs.Scan(&(cs.ConfId), &(cs.Name), &(cs.LastUpdate), &(cs.Description), &(cs.Sequence), &(cs.Hidden)); err == nil {
rc = append(rc, &cs)
rc = append(rc, cs)
} else {
return nil, err
}