fix(instances): send network ids when creating instance

This commit is contained in:
Sérgio Ramos 2018-05-09 10:55:02 +01:00
parent 1317894f27
commit f9c89cbccc

View File

@ -323,9 +323,7 @@ export default compose(
const _networks = const _networks =
steps.networks && steps.networks &&
Object.keys(steps.networks).filter( steps.networks.map(({ id }) => id);
network => steps.networks[network]
);
if (steps['user-script'] && steps['user-script'].length) { if (steps['user-script'] && steps['user-script'].length) {
_metadata.push({ name: 'user-script', value: steps['user-script'] }); _metadata.push({ name: 'user-script', value: steps['user-script'] });