mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 09:37:41 +00:00
chore: Oops, "long" is actually used + fix TypeScript error.
This commit is contained in:
@@ -125,7 +125,7 @@ export async function sendMessageIMessage(
|
||||
const client = opts.client ?? (await createIMessageRpcClient({ cliPath, dbPath }));
|
||||
const shouldClose = !opts.client;
|
||||
try {
|
||||
const result = await client.request("send", params, {
|
||||
const result = await client.request<{ ok?: string }>("send", params, {
|
||||
timeoutMs: opts.timeoutMs,
|
||||
});
|
||||
const resolvedId = resolveMessageId(result);
|
||||
|
||||
Reference in New Issue
Block a user