Explorar el Código

Update LikeService, fix typo

Daniel Supernault hace 2 años
padre
commit
5ec25204ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/LikeService.php

+ 1 - 1
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);
 			}
 		}