be explicit about get

This commit is contained in:
Kendall Garner 2026-07-11 10:30:13 -07:00
parent 429b485026
commit d1f16e0bb0
No known key found for this signature in database
GPG Key ID: 9355F387FE765C94

View File

@ -95,7 +95,7 @@ func (r *scrobbleRepository) Count(options ...rest.QueryOptions) (int64, error)
}
func (r *scrobbleRepository) Get(id string) (*model.Scrobble, error) {
sel := r.baseQuery().Where(Eq{"row_id": id})
sel := r.baseQuery().Where(Eq{"scrobbles.ROWID": id})
var res dbScrobble
err := r.queryOne(sel, &res)
if err != nil {