fix(plugins): repair channel lint batch types

This commit is contained in:
Peter Steinberger
2026-04-06 14:31:57 +01:00
parent 98f222a661
commit 318c0f2e89
2 changed files with 6 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ export async function listDiscordDirectoryGroupsLive(
if (!access) {
return [];
}
const { token, query } = access;
const { token, query, accountId } = access;
const guilds = await listDiscordGuilds(token);
const rows: ChannelDirectoryEntry[] = [];
@@ -82,7 +82,7 @@ export async function listDiscordDirectoryPeersLive(
if (!access) {
return [];
}
const { token, query } = access;
const { token, query, accountId } = access;
if (!query) {
return [];
}

View File

@@ -228,13 +228,16 @@ export class SlackExecApprovalHandler {
this.runtime = createChannelNativeApprovalRuntime<
SlackPendingApproval,
{ to: string; threadTs?: string },
SlackPendingDelivery
SlackPendingDelivery,
ExecApprovalRequest,
ExecApprovalResolved
>({
label: "slack/exec-approvals",
clientDisplayName: "Slack Exec Approvals",
cfg: opts.cfg,
accountId: opts.accountId,
gatewayUrl: opts.gatewayUrl,
eventKinds: ["exec"],
nativeAdapter: slackNativeApprovalAdapter.native,
isConfigured: () =>
isSlackExecApprovalClientEnabled({