1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #669 from pixelfed/frontend-ui-refactor

Update Api
This commit is contained in:
daniel 2018-12-24 23:55:39 -07:00 committed by GitHub
commit 5f1ed8d9ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,6 +131,7 @@ class PublicApiController extends Controller
}
} else {
$replies = $status->comments()
->whereNull('reblog_of_id')
->select('id', 'caption', 'rendered', 'profile_id', 'in_reply_to_id', 'created_at')
->orderBy('id', 'desc')
->paginate($limit);