Skip to content

Commit e49703d

Browse files
committed
fix(channels): preserve account status generic
1 parent 4dd2768 commit e49703d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/channels/plugins/status.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export async function buildChannelAccountSnapshot<ResolvedAccount>(params: {
8383
audit?: unknown;
8484
}): Promise<ChannelAccountSnapshot> {
8585
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;
8888
return await buildChannelAccountSnapshotFromAccount({
8989
...params,
9090
account,

0 commit comments

Comments
 (0)