fix: reuse validated runner defaults for queue dispatch
This commit is contained in:
+1
-1
@@ -757,7 +757,7 @@ async function route({ method, url, body, store, sourceCommit, authSummary, runn
|
||||
store,
|
||||
taskId: queueTaskDispatchMatch[1] ?? "",
|
||||
input: asRecord(body ?? {}, "queueDispatch"),
|
||||
defaults: runnerJobDefaultsForRequest(runnerJobDefaults, sourceCommit),
|
||||
defaults: resolvedRunnerJobDefaults,
|
||||
}) as unknown as JsonValue;
|
||||
}
|
||||
const queueTaskRefreshMatch = path.match(/^\/api\/v1\/queue\/tasks\/([^/]+)\/refresh$/u);
|
||||
|
||||
Reference in New Issue
Block a user