Update LikeService, fix typo

This commit is contained in:
Daniel Supernault 2022-09-29 04:50:10 -06:00
parent 82952d6ab8
commit 5ec25204ca
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);
}
}