소스 검색

Update StatusHashtagService, fix delete bug

Daniel Supernault 6 년 전
부모
커밋
46d4d256c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)