diff --git a/src/channels/plugins/status.ts b/src/channels/plugins/status.ts index ad7727cc419..e6125035075 100644 --- a/src/channels/plugins/status.ts +++ b/src/channels/plugins/status.ts @@ -83,8 +83,8 @@ export async function buildChannelAccountSnapshot(params: { audit?: unknown; }): Promise { const inspectedAccount = await inspectChannelAccount(params); - const account = - inspectedAccount ?? params.plugin.config.resolveAccount(params.cfg, params.accountId); + const account = (inspectedAccount ?? + params.plugin.config.resolveAccount(params.cfg, params.accountId)) as ResolvedAccount; return await buildChannelAccountSnapshotFromAccount({ ...params, account,