style: format health/status files

This commit is contained in:
Peter Steinberger
2026-01-17 01:25:10 +00:00
parent fa2b92bb00
commit e16ce1a0a1
5 changed files with 35 additions and 41 deletions

View File

@@ -56,9 +56,7 @@ function resolveAccountConfig(
const direct = accounts[accountId] as TelegramAccountConfig | undefined;
if (direct) return direct;
const normalized = normalizeAccountId(accountId);
const matchKey = Object.keys(accounts).find(
(key) => normalizeAccountId(key) === normalized,
);
const matchKey = Object.keys(accounts).find((key) => normalizeAccountId(key) === normalized);
return matchKey ? (accounts[matchKey] as TelegramAccountConfig | undefined) : undefined;
}