Explorar o código

Fix AdminStatService cache key, fixes #3612

Daniel Supernault %!s(int64=2) %!d(string=hai) anos
pai
achega
d1dbed8932
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()),