1
0
Эх сурвалжийг харах

Update StatusHashtagService, fix delete bug

Daniel Supernault 6 жил өмнө
parent
commit
46d4d256c5

+ 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)