Просмотр исходного кода

Update SharePipeline, fix variable bug

Daniel Supernault 3 лет назад
Родитель
Сommit
b8ebc00212
1 измененных файлов с 1 добавлено и 1 удалено
  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->reblogs_count = $parent->shares()->count();
 		$parent->save();
 		$parent->save();
-		StatusService::del($parent);
+		StatusService::del($parent->id);
 
 
 		try {
 		try {
 			$notification = new Notification;
 			$notification = new Notification;