fix: align channel adapters with plugin sdk

This commit is contained in:
Peter Steinberger
2026-03-16 01:10:22 +00:00
parent 7a93f7d9df
commit b8dbc12560
2 changed files with 6 additions and 5 deletions

View File

@@ -65,10 +65,11 @@ const feishuOnboarding = {
},
},
}),
promptAllowFrom: async (cfg, prompter) =>
(await loadFeishuChannelRuntime()).feishuOnboardingAdapter.dmPolicy!.promptAllowFrom({
promptAllowFrom: async ({ cfg, prompter, accountId }) =>
(await loadFeishuChannelRuntime()).feishuOnboardingAdapter.dmPolicy!.promptAllowFrom!({
cfg,
prompter,
accountId,
}),
},
disable: (cfg) => ({