fix: format droidAccountService.js with Prettier

This commit is contained in:
John Doe
2025-12-07 21:14:42 +03:00
parent 201d95c84e
commit 24796fc889

View File

@@ -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)