Browse Source

Update CommentPipeline, fix variable bug

Daniel Supernault 3 years ago
parent
commit
0616a859d5
1 changed files with 1 additions and 1 deletions
  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::setNotification($notification);
             NotificationService::set($notification->profile_id, $notification->id);
             NotificationService::set($notification->profile_id, $notification->id);
-            StatusService::del($status->id);
+            StatusService::del($comment->id);
         });
         });
     }
     }
 }
 }