fix(instances): send the correct userscript to deploy

This commit is contained in:
Sérgio Ramos 2018-03-02 15:42:29 +00:00
parent 9eabff8a60
commit 4a7956782b

View File

@ -344,8 +344,8 @@ export default compose(
network => networks[network] network => networks[network]
); );
if (userScript && userScript.value) { if (userScript && userScript.length) {
_metadata.push({ name: 'user-script', value: userScript.value }); _metadata.push({ name: 'user-script', value: userScript });
} }
const [err, res] = await intercept( const [err, res] = await intercept(