Update PublicApiController, increase public timeline to 6 months from 3

pull/2753/head
Daniel Supernault 2021-05-11 22:12:10 -06:00
rodzic 813648cfbb
commit 8a73643277
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -314,7 +314,7 @@ class PublicApiController extends Controller
->whereNotIn('profile_id', $filtered)
->whereLocal(true)
->whereScope('public')
->where('created_at', '>', now()->subMonths(3))
->where('created_at', '>', now()->subMonths(6))
->orderBy('created_at', 'desc')
->limit($limit)
->get();
@ -343,7 +343,7 @@ class PublicApiController extends Controller
->with('profile', 'hashtags', 'mentions')
->whereLocal(true)
->whereScope('public')
->where('created_at', '>', now()->subMonths(3))
->where('created_at', '>', now()->subMonths(6))
->orderBy('created_at', 'desc')
->simplePaginate($limit);
}