mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
be explicit about get
This commit is contained in:
parent
429b485026
commit
d1f16e0bb0
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user