mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
fix(plugins): repair channel lint batch types
This commit is contained in:
@@ -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 [];
|
||||
}
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user