fix spelling

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

View File

@ -83,7 +83,7 @@ func (r *scrobbleRepository) RecordScrobble(mediaFileID string, submissionTime t
func (r *scrobbleRepository) CountAll(options ...model.QueryOptions) (int64, error) {
userID := loggedUser(r.ctx).ID
count := r.newSelect().Column("COUNT(*) as count").Where(Eq{"user_id": userID})
// We do this instead of newSeelct, because we do not want to apply limit/offset/order
// We do this instead of newSelect, because we do not want to apply limit/offset/order
count = r.applyFilters(count, options...)
var res struct{ Count int64 }
err := r.queryOne(count, &res)