Ver código fonte

Update SharePipeline, fix variable bug

Daniel Supernault 3 anos atrás
pai
commit
b8ebc00212
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Jobs/SharePipeline/SharePipeline.php

+ 1 - 1
app/Jobs/SharePipeline/SharePipeline.php

@@ -77,7 +77,7 @@ class SharePipeline implements ShouldQueue
 
 		$parent->reblogs_count = $parent->shares()->count();
 		$parent->save();
-		StatusService::del($parent);
+		StatusService::del($parent->id);
 
 		try {
 			$notification = new Notification;