mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Fix AdminStatService cache key, fixes #3612
This commit is contained in:
parent
75fbd373c8
commit
d1dbed8932
1 changed files with 1 additions and 1 deletions
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue