mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
refacto: 重构admin.js
This commit is contained in:
@@ -213,7 +213,9 @@ class ApiKeyService {
|
||||
|
||||
if (!keyData) {
|
||||
// ⚠️ 警告:映射表查找失败,可能是竞态条件或映射表损坏
|
||||
logger.warn(`⚠️ API key not found in hash map: ${hashedKey.substring(0, 16)}... (possible race condition or corrupted hash map)`)
|
||||
logger.warn(
|
||||
`⚠️ API key not found in hash map: ${hashedKey.substring(0, 16)}... (possible race condition or corrupted hash map)`
|
||||
)
|
||||
return { valid: false, error: 'API key not found' }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user