Selaa lähdekoodia

Update StatusHashtagService

Daniel Supernault 6 vuotta sitten
vanhempi
commit
914b0e4965
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/Services/StatusHashtagService.php

+ 1 - 0
app/Services/StatusHashtagService.php

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