Update Api

This commit is contained in:
Daniel Supernault 2018-12-24 23:55:11 -07:00
parent 605774cad4
commit 5f0922d88c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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