style: format health/status files

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

No files matched your search

+1 -3
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;
}