Skip to content

Commit

Permalink
fix daily/listening activity
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jan 28, 2025
1 parent 01b3dd9 commit 5156d0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion listenbrainz_spark/stats/user/daily_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def get_daily_activity(stats_range: str, database: str = None) -> Iterator[Optio
entity_obj = DailyActivityUserStatsQueryEntity(selector)
message_creator = DailyActivityUserMessageCreator("user_daily_activity", selector, database)
engine = IncrementalStatsEngine(entity_obj, message_creator)
return aggregator.run()
return engine.run()
2 changes: 1 addition & 1 deletion listenbrainz_spark/stats/user/listening_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def get_listening_activity(stats_range: str, database: str = None)\
entity_obj = ListeningActivityUserStatsQueryEntity(selector)
message_creator = ListeningActivityUserMessageCreator("user_listening_activity", selector, database)
engine = IncrementalStatsEngine(entity_obj, message_creator)
return aggregator.run()
return engine.run()

0 comments on commit 5156d0b

Please sign in to comment.