Skip to content

Commit

Permalink
Merge pull request #3021 from metabrainz/LB-1668
Browse files Browse the repository at this point in the history
LB-1668: Donors page erroneously reports no listens for some users
  • Loading branch information
anshg1214 authored Nov 4, 2024
2 parents fea9142 + a6a422c commit 9cf302e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listenbrainz/webserver/views/donors.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def donors_post():
user_playlist_count = db_playlist.get_playlist_count(ts_conn, donor_ids) if donor_ids else {}

for donor in donors:
donor_info = donors_info.get(donor["musicbrainz_id"])
donor_info = donors_info.get(donor["musicbrainz_id"].lower())
if not donor_info:
donor['listenCount'] = None
donor['playlistCount'] = None
Expand Down

0 comments on commit 9cf302e

Please sign in to comment.