mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update PublicApiController, limit network pagination to 3 months
This commit is contained in:
parent
4f31d7f391
commit
10119bbbea
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ class PublicApiController extends Controller
|
|||
->whereIn('type', ['photo', 'photo:album', 'video', 'video:album', 'photo:video:album'])
|
||||
->whereNotNull('uri')
|
||||
->whereScope('public')
|
||||
// ->where('created_at', '>', now()->subMonths(3))
|
||||
->where('created_at', '>', now()->subMonths(3))
|
||||
->orderBy('created_at', 'desc')
|
||||
->limit($limit)
|
||||
->get();
|
||||
|
|
Loading…
Reference in a new issue