Explorar o código

Update StatusHashtagService, fix delete bug

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
46d4d256c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/StatusHashtagService.php

+ 1 - 1
app/Services/StatusHashtagService.php

@@ -49,7 +49,7 @@ class StatusHashtagService {
 
 	public static function del($key)
 	{
-		return Redis::zrem(self::CACHE_KEY . $key, $val);
+		return Redis::zrem(self::CACHE_KEY . $key, $key);
 	}
 
 	public static function count($id)