Update ApiV1Controller

pull/3136/head
Daniel Supernault 2022-01-08 05:01:26 -07:00
rodzic 1515a9f111
commit 4fe421a166
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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')