Explorar o código

Update StatusTagsPipeline, fix object tags slug query

Daniel Supernault hai 1 ano
pai
achega
79b378cdb1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      app/Jobs/StatusPipeline/StatusTagsPipeline.php

+ 0 - 2
app/Jobs/StatusPipeline/StatusTagsPipeline.php

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