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:
mabashian
2020-04-08 11:43:39 -04:00
parent 943543354a
commit edb4dac652

View File

@@ -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,