Parcourir la source

Update FollowPipeline

Daniel Supernault il y a 6 ans
Parent
commit
95799c5c70
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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';