Kaynağa Gözat

Update FollowPipeline

Daniel Supernault 6 yıl önce
ebeveyn
işleme
95799c5c70
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Jobs/FollowPipeline/FollowPipeline.php

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

@@ -51,7 +51,7 @@ class FollowPipeline implements ShouldQueue
             $notification->save();
 
             Cache::forever('notification.'.$notification->id, $notification);
-
+            Cache::forget('feature:discover:people:'.$actor->id);
             $redis = Redis::connection();
 
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';