fix(zalouser): align setup test account resolver

This commit is contained in:
Vincent Koc
2026-04-07 12:14:38 +01:00
parent 447ab8102a
commit 8183e2d657

View File

@@ -30,8 +30,8 @@ const zalouserSetupPlugin = {
config: {
listAccountIds: (cfg: unknown) => listZalouserAccountIds(cfg as never),
defaultAccountId: (cfg: unknown) => resolveDefaultZalouserAccountId(cfg as never),
resolveAccount: (params: { cfg: OpenClawConfig; accountId?: string | null }) =>
resolveZalouserAccountSync(params),
resolveAccount: (cfg: OpenClawConfig, accountId?: string | null) =>
resolveZalouserAccountSync({ cfg, accountId }),
},
security: {
resolveDmPolicy: createScopedDmSecurityResolver({