fix(channels): preserve account status generic · openclaw/openclaw@e49703d
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -83,8 +83,8 @@ export async function buildChannelAccountSnapshot<ResolvedAccount>(params: {
|
83 | 83 | audit?: unknown; |
84 | 84 | }): Promise<ChannelAccountSnapshot> { |
85 | 85 | const inspectedAccount = await inspectChannelAccount(params); |
86 | | -const account = |
87 | | -inspectedAccount ?? params.plugin.config.resolveAccount(params.cfg, params.accountId); |
| 86 | +const account = (inspectedAccount ?? |
| 87 | +params.plugin.config.resolveAccount(params.cfg, params.accountId)) as ResolvedAccount; |
88 | 88 | return await buildChannelAccountSnapshotFromAccount({ |
89 | 89 | ...params, |
90 | 90 | account, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。