Update PublicApiController, order accountStatuses by id

This commit is contained in:
Daniel Supernault 2020-05-25 20:40:41 -06:00
parent 6e8e9a2d5e
commit 8efe14cc4b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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());