优化后端鉴权与日志安全
This commit is contained in:
@@ -65,7 +65,7 @@ async function runCloudtentaclesHealthAccount(
|
||||
): Promise<CloudtentaclesHealthAccountResult> {
|
||||
const sourceKey = String(account.sourceKey || '').trim() || 'default'
|
||||
const source = getCloudtentaclesSourceByKey(sourceKey)
|
||||
const session = getCloudtentaclesSessionStateByKey(sourceKey) || {}
|
||||
const session: JsonObject = getCloudtentaclesSessionStateByKey(sourceKey) || {}
|
||||
const label = String(account.label || source?.label || source?.username || sourceKey).trim() || sourceKey
|
||||
const threshold = normalizeNonNegativeInteger(account.assetThreshold, 500)
|
||||
const checkedAt = new Date().toISOString()
|
||||
|
||||
Reference in New Issue
Block a user