Bläddra i källkod

Update SharePipeline, fix variable bug

Daniel Supernault 3 år sedan
förälder
incheckning
b8ebc00212
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;