diff --git a/app/Services/LikeService.php b/app/Services/LikeService.php index 63da4e47e..bc6b876ae 100644 --- a/app/Services/LikeService.php +++ b/app/Services/LikeService.php @@ -25,7 +25,7 @@ class LikeService { { if(self::setCount($profileId) > 400) { if(config('database.redis.client') === 'phpredis') { - Redis::zpopmin(self::CACHE_SET_KEY . $id); + Redis::zpopmin(self::CACHE_SET_KEY . $profileId); } }