Prechádzať zdrojové kódy

Update StatusHashtagService, fix delete bug

Daniel Supernault 6 rokov pred
rodič
commit
46d4d256c5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)