mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 09:30:20 +00:00
style: fix extension lint violations
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import type { AgentToolResult } from "@mariozechner/pi-agent-core";
|
||||
import { readBooleanParam } from "openclaw/plugin-sdk/boolean-param";
|
||||
import { resolveReactionMessageId } from "openclaw/plugin-sdk/channel-actions";
|
||||
import {
|
||||
jsonResult,
|
||||
readNumberParam,
|
||||
@@ -9,8 +8,9 @@ import {
|
||||
readStringOrNumberParam,
|
||||
readStringParam,
|
||||
resolvePollMaxSelections,
|
||||
resolveReactionMessageId,
|
||||
} from "openclaw/plugin-sdk/channel-actions";
|
||||
import type { OpenClawConfig, TelegramActionConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import { createTelegramActionGate, resolveTelegramPollActionGateState } from "./accounts.js";
|
||||
import {
|
||||
fitsTelegramCallbackData,
|
||||
@@ -636,5 +636,5 @@ export async function handleTelegramAction(
|
||||
return jsonResult(result);
|
||||
}
|
||||
|
||||
throw new Error(`Unsupported Telegram action: ${action}`);
|
||||
throw new Error(`Unsupported Telegram action: ${String(action)}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user