From d8d9ca501ce07c9e96553b19d85a6f94a747d9f4 Mon Sep 17 00:00:00 2001 From: Shahana Farooqui Date: Wed, 26 Aug 2020 10:07:36 -0400 Subject: [PATCH] CLT POST bug fix CLT POST bug fix --- common.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common.js b/common.js index 26e73db2..7294ece8 100644 --- a/common.js +++ b/common.js @@ -27,6 +27,7 @@ common.getSelLNServerUrl = () => { common.getOptions = () => { common.selectedNode.options.method = common.selectedNode.ln_implementation.toUpperCase() !== 'ECL' ? 'GET' : 'POST'; + delete common.selectedNode.options.form; common.selectedNode.options.qs = {}; return common.selectedNode.options; }; @@ -39,7 +40,7 @@ common.updateSelectedNodeOptions = () => { url: '', rejectUnauthorized: false, json: true, - form: '' + form: null }; try { if (common.selectedNode && common.selectedNode.ln_implementation) { @@ -63,7 +64,7 @@ common.updateSelectedNodeOptions = () => { url: '', rejectUnauthorized: false, json: true, - form: '' + form: null }; console.error('Common Update Selected Node Options Error:' + JSON.stringify(err)); return { status: 502, message: err }; @@ -78,7 +79,7 @@ common.setOptions = () => { url: '', rejectUnauthorized: false, json: true, - form: '' + form: null }; try { if (node.ln_implementation) {