瀏覽代碼

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;