Update PublicApiController, order accountStatuses by id

pull/2211/head
Daniel Supernault 5 years ago
parent 6e8e9a2d5e
commit 8efe14cc4b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save