ソースを参照

Update SharePipeline, fix variable bug

Daniel Supernault 3 年 前
コミット
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->save();
-		StatusService::del($parent);
+		StatusService::del($parent->id);
 
 		try {
 			$notification = new Notification;