fix: use --params instead of --data for gateway call (#11)

This commit is contained in:
Lauren ten Hoor
2026-02-09 23:14:13 +08:00
parent 4ca35cf57c
commit 0e3c546e8d

View File

@@ -184,7 +184,7 @@ export async function dispatchTask(
"gateway", "gateway",
"call", "call",
"sessions.patch", "sessions.patch",
"--data", "--params",
JSON.stringify({ key: sessionKey, model: fullModel }), JSON.stringify({ key: sessionKey, model: fullModel }),
], ],
{ timeout: 30_000 }, { timeout: 30_000 },