Update SuggestionService

This commit is contained in:
Daniel Supernault 2019-05-12 22:19:44 -06:00
parent 32c0019209
commit b7a7368c62
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -45,6 +45,7 @@ class SuggestionService {
$ids = Profile::whereNull('domain') $ids = Profile::whereNull('domain')
->whereIsSuggestable(true) ->whereIsSuggestable(true)
->whereIsPrivate(false) ->whereIsPrivate(false)
->whereHas('statuses')
->pluck('id'); ->pluck('id');
foreach($ids as $id) { foreach($ids as $id) {
self::set($id); self::set($id);