Explorar o código

Update CommentPipeline, fix variable bug

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
0616a859d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         });
     }
 }