always use fetch_stats to get AdminDashboardData data

This commit is contained in:
Neil Lalonde 2015-09-14 15:35:05 -04:00
parent db1820f39c
commit 991a36f4f2

View file

@ -5,7 +5,7 @@ module Jobs
every 30.minutes
def execute(args)
stats = AdminDashboardData.new.as_json
stats = AdminDashboardData.fetch_stats
set_cache(AdminDashboardData, stats)
stats
end