mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 08:04:25 +00:00
Fix empty input 415 unsupported media type
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ async function run(
|
||||
const id = await JobService.runFlowByPath({
|
||||
workspace,
|
||||
path,
|
||||
requestBody: opts.input,
|
||||
requestBody: opts.input ?? {},
|
||||
});
|
||||
|
||||
let i = 0;
|
||||
|
||||
+1
-1
@@ -183,7 +183,7 @@ async function run(
|
||||
let id = await JobService.runScriptByPath({
|
||||
workspace,
|
||||
path,
|
||||
requestBody: opts.input,
|
||||
requestBody: opts.input ?? {},
|
||||
});
|
||||
|
||||
track_job(workspace, id);
|
||||
|
||||
Reference in New Issue
Block a user