瀏覽代碼

Update CommentPipeline, fix variable bug

Daniel Supernault 3 年之前
父節點
當前提交
0616a859d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Jobs/CommentPipeline/CommentPipeline.php

+ 1 - 1
app/Jobs/CommentPipeline/CommentPipeline.php

@@ -91,7 +91,7 @@ class CommentPipeline implements ShouldQueue
 
             NotificationService::setNotification($notification);
             NotificationService::set($notification->profile_id, $notification->id);
-            StatusService::del($status->id);
+            StatusService::del($comment->id);
         });
     }
 }