mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 08:59:16 +00:00
fix: 修复 ESLint 错误 - if 语句花括号和箭头函数简写
This commit is contained in:
@@ -795,7 +795,9 @@ class RedisClient {
|
||||
* 获取使用了指定模型的 Key IDs(OR 逻辑)
|
||||
*/
|
||||
async getKeyIdsWithModels(keyIds, models) {
|
||||
if (!keyIds.length || !models.length) return new Set()
|
||||
if (!keyIds.length || !models.length) {
|
||||
return new Set()
|
||||
}
|
||||
|
||||
const client = this.getClientSafe()
|
||||
const result = new Set()
|
||||
|
||||
Reference in New Issue
Block a user