Update ApiV1Controller

This commit is contained in:
Daniel Supernault 2022-01-08 05:01:26 -07:00
parent 1515a9f111
commit 4fe421a166
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -2516,7 +2516,7 @@ class ApiV1Controller extends Controller
$sortBy = $request->input('sort', 'all');
if($sortBy == 'all' && !$request->has('cursor')) {
$ids = Cache::remember('status:replies:all:' . $id, 900, function() use($id) {
$ids = Cache::remember('status:replies:all:' . $id, 86400, function() use($id) {
return DB::table('statuses')
->where('in_reply_to_id', $id)
->orderBy('id')