Răsfoiți Sursa

Update StatusEntityLexer

Daniel Supernault 6 ani în urmă
părinte
comite
e6b4e7670d
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 5 1
      app/Jobs/StatusPipeline/StatusEntityLexer.php

+ 5 - 1
app/Jobs/StatusPipeline/StatusEntityLexer.php

@@ -95,7 +95,11 @@ class StatusEntityLexer implements ShouldQueue
                     ['name' => $tag, 'slug' => $slug]
                     ['name' => $tag, 'slug' => $slug]
                 );
                 );
                 StatusHashtag::firstOrCreate(
                 StatusHashtag::firstOrCreate(
-                    ['status_id' => $status->id, 'hashtag_id' => $hashtag->id]
+                    [
+                        'status_id' => $status->id, 
+                        'hashtag_id' => $hashtag->id,
+                        'profile_id' => $status->profile_id
+                    ]
                 );
                 );
             });
             });
         }
         }