瀏覽代碼

Update StatusHashtagService

Daniel Supernault 6 年之前
父節點
當前提交
914b0e4965
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)