Browse Source

Fix AdminStatService cache key, fixes #3612

Daniel Supernault 2 years ago
parent
commit
d1dbed8932
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/AdminStatsService.php

+ 1 - 1
app/Services/AdminStatsService.php

@@ -113,7 +113,7 @@ class AdminStatsService
 	protected static function additionalDataSummary()
 	{
 		$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 [
 				'statuses' => PrettyNumber::convert(Status::count()),
 				'profiles' => PrettyNumber::convert(Profile::count()),