mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 22:28:27 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -145,11 +145,10 @@ export async function handleToolsInvokeHttpRequest(
|
||||
const action = typeof body.action === "string" ? body.action.trim() : undefined;
|
||||
|
||||
const argsRaw = body.args;
|
||||
const args = (
|
||||
const args =
|
||||
argsRaw && typeof argsRaw === "object" && !Array.isArray(argsRaw)
|
||||
? (argsRaw as Record<string, unknown>)
|
||||
: {}
|
||||
) as Record<string, unknown>;
|
||||
: {};
|
||||
|
||||
const rawSessionKey = resolveSessionKeyFromBody(body);
|
||||
const sessionKey =
|
||||
|
||||
Reference in New Issue
Block a user