Skip to content

Commit 9fc7601

Browse files
committed
Fix stats monitoring
1 parent a104fd7 commit 9fc7601

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

listenbrainz/webserver/views/stats_api.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,9 @@ def get_entity_stats_last_updated(user_name: str, entity: str, count_key: str):
331331
stats = db_stats.get(user["id"], entity, stats_range, EntityRecord)
332332
if stats is None:
333333
return None
334-
335-
entity_list, total_entity_count = _process_user_entity(stats, 0, 1)
336334
return stats.last_updated
337335

336+
338337
@stats_api_bp.get("/user/<user_name>/listening-activity")
339338
@crossdomain
340339
@ratelimit()

0 commit comments

Comments
 (0)