From edb4dac6529bbec3dbdfb52a2b51f1a2defcaae8 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 8 Apr 2020 11:43:39 -0400 Subject: [PATCH] Pass empty params to launch endpoint rather than null to alleviate 400 error when launching a JT with default creds. --- awx/ui_next/src/components/LaunchButton/LaunchButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/components/LaunchButton/LaunchButton.jsx b/awx/ui_next/src/components/LaunchButton/LaunchButton.jsx index 878945f8d8..1d232f0a87 100644 --- a/awx/ui_next/src/components/LaunchButton/LaunchButton.jsx +++ b/awx/ui_next/src/components/LaunchButton/LaunchButton.jsx @@ -71,7 +71,7 @@ class LaunchButton extends React.Component { const { data: launchConfig } = await readLaunch; if (canLaunchWithoutPrompt(launchConfig)) { - this.launchWithParams(null); + this.launchWithParams({}); } else { this.setState({ showLaunchPrompt: true,