1
0
Fork 0

Update StatusTagsPipeline, fix object tags slug query

This commit is contained in:
Daniel Supernault 2023-09-25 05:20:04 -06:00 committed by chris
parent 5934e88d76
commit 98da70936f
1 changed files with 0 additions and 2 deletions

View File

@ -84,14 +84,12 @@ class StatusTagsPipeline implements ShouldQueue
if(!$hashtag) {
$hashtag = Hashtag::updateOrCreate([
'slug' => str_slug($name, '-', false),
],[
'name' => $name
]);
}
} else {
$hashtag = Hashtag::updateOrCreate([
'slug' => str_slug($name, '-', false),
],[
'name' => $name
]);
}