mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update PublicApiController, fix HomeTimeline cache ttl
This commit is contained in:
parent
91e58591be
commit
0d350ea03e
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ class PublicApiController extends Controller
|
|||
return $following->push($pid)->toArray();
|
||||
});
|
||||
|
||||
$private = Cache::remember('profiles:private', 1440, function() {
|
||||
$private = Cache::remember('profiles:private', now()->addMinutes(1440), function() {
|
||||
return Profile::whereIsPrivate(true)
|
||||
->orWhere('unlisted', true)
|
||||
->orWhere('status', '!=', null)
|
||||
|
|
Loading…
Reference in a new issue