Update StatusHashtagService

This commit is contained in:
Daniel Supernault 2019-07-01 23:13:43 -06:00
parent 7ffb4c4a45
commit 914b0e4965
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -32,6 +32,7 @@ class StatusHashtagService {
{
$stop = $stop > 2000 ? 2000 : $stop;
$ids = StatusHashtag::whereHashtagId($id)
->whereHas('media')
->latest()
->skip($start)
->take($stop)