fix(go): update to resolve linter errors (#3913)

This commit is contained in:
Gabe Kangas
2024-09-05 13:41:10 -07:00
committed by GitHub
parent 208fafaaab
commit 90b70612c9
5 changed files with 14 additions and 21 deletions

View File

@@ -144,7 +144,7 @@ func (r *SqlUserRepository) ChangeUserColor(userID string, color int) error {
defer r.datastore.DbLock.Unlock()
if err := r.datastore.GetQueries().ChangeDisplayColor(context.Background(), db.ChangeDisplayColorParams{
DisplayColor: int32(color),
DisplayColor: color,
ID: userID,
}); err != nil {
return errors.Wrap(err, "unable to change display color")