mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 11:40:05 -03:30
Pass empty params to launch endpoint rather than null to alleviate 400 error when launching a JT with default creds.
This commit is contained in:
@@ -71,7 +71,7 @@ class LaunchButton extends React.Component {
|
|||||||
const { data: launchConfig } = await readLaunch;
|
const { data: launchConfig } = await readLaunch;
|
||||||
|
|
||||||
if (canLaunchWithoutPrompt(launchConfig)) {
|
if (canLaunchWithoutPrompt(launchConfig)) {
|
||||||
this.launchWithParams(null);
|
this.launchWithParams({});
|
||||||
} else {
|
} else {
|
||||||
this.setState({
|
this.setState({
|
||||||
showLaunchPrompt: true,
|
showLaunchPrompt: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user