Update StatusHashtagService, fix delete bug

This commit is contained in:
Daniel Supernault 2019-07-07 23:45:49 -06:00
parent 521b5b5b07
commit 46d4d256c5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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