Skip to content
Snippets Groups Projects
Unverified Commit d1dbed89 authored by Daniel Supernault's avatar Daniel Supernault
Browse files

Fix AdminStatService cache key, fixes #3612

parent 75fbd373
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ class AdminStatsService ...@@ -113,7 +113,7 @@ class AdminStatsService
protected static function additionalDataSummary() protected static function additionalDataSummary()
{ {
$ttl = now()->addHours(24); $ttl = now()->addHours(24);
return Cache::remember('admin:dashboard:home:data:v0:24hr', $ttl, function() { return Cache::remember('admin:dashboard:home:data-summary:v0:24hr', $ttl, function() {
return [ return [
'statuses' => PrettyNumber::convert(Status::count()), 'statuses' => PrettyNumber::convert(Status::count()),
'profiles' => PrettyNumber::convert(Profile::count()), 'profiles' => PrettyNumber::convert(Profile::count()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment