mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:38:14 +00:00
fix: format droidAccountService.js with Prettier
This commit is contained in:
@@ -557,7 +557,7 @@ class DroidAccountService {
|
||||
authenticationMethod = '',
|
||||
expiresIn = null,
|
||||
apiKeys = [],
|
||||
userAgent = '' // 自定义 User-Agent
|
||||
userAgent = '' // 自定义 User-Agent
|
||||
} = options
|
||||
|
||||
const accountId = uuidv4()
|
||||
@@ -834,7 +834,7 @@ class DroidAccountService {
|
||||
apiKeys: hasApiKeys ? JSON.stringify(apiKeyEntries) : '',
|
||||
apiKeyCount: hasApiKeys ? String(apiKeyEntries.length) : '0',
|
||||
apiKeyStrategy: hasApiKeys ? 'random_sticky' : '',
|
||||
userAgent: userAgent || '' // 自定义 User-Agent
|
||||
userAgent: userAgent || '' // 自定义 User-Agent
|
||||
}
|
||||
|
||||
await redis.setDroidAccount(accountId, accountData)
|
||||
|
||||
Reference in New Issue
Block a user