1
0
Fork 0

Update StatusEntityLexer

This commit is contained in:
Daniel Supernault 2019-03-01 22:28:11 -07:00
parent d39947ed08
commit e6b4e7670d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 1 deletions

View File

@ -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
]
); );
}); });
} }