소스 검색

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->reblogs_count = $parent->shares()->count();
 		$parent->save();
 		$parent->save();
-		StatusService::del($parent);
+		StatusService::del($parent->id);
 
 
 		try {
 		try {
 			$notification = new Notification;
 			$notification = new Notification;