mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update PublicApiController, order accountStatuses by id
This commit is contained in:
parent
6e8e9a2d5e
commit
8efe14cc4b
1 changed files with 1 additions and 2 deletions
|
@ -567,9 +567,8 @@ class PublicApiController extends Controller
|
|||
->whereIn('type', $scope)
|
||||
->where('id', $dir, $id)
|
||||
->whereIn('visibility', $visibility)
|
||||
->latest()
|
||||
->limit($limit)
|
||||
->orderByDesc('created_at')
|
||||
->orderByDesc('id')
|
||||
->get();
|
||||
|
||||
$resource = new Fractal\Resource\Collection($timeline, new StatusTransformer());
|
||||
|
|
Loading…
Reference in a new issue