Commit 4e4bf1da authored by bitsoko services's avatar bitsoko services 👷🏿

Update enterpriseFunctions.js

parent 8c0974e1
Pipeline #1885 canceled with stage
...@@ -368,6 +368,9 @@ exports.createEnterprisePage = async function(req,allInfo,orgD,orgPlan) { ...@@ -368,6 +368,9 @@ exports.createEnterprisePage = async function(req,allInfo,orgD,orgPlan) {
var ifs = []; var ifs = [];
var units = [];
try{ try{
var orgId = getBitsWinOpt(req.url,'org'); var orgId = getBitsWinOpt(req.url,'org');
...@@ -388,7 +391,6 @@ var siteInterfaces = await exports.httpGet(mainDomain+'/doocaOrgSiteInt?org='+or ...@@ -388,7 +391,6 @@ var siteInterfaces = await exports.httpGet(mainDomain+'/doocaOrgSiteInt?org='+or
ifs = JSON.parse(siteInterfaces).interfaces; ifs = JSON.parse(siteInterfaces).interfaces;
var units = [];
for(var i in ifs){ for(var i in ifs){
// 0 position is the port of the incoming wan // 0 position is the port of the incoming wan
...@@ -564,7 +566,7 @@ var source = fs.readFileSync(pugFile, ...@@ -564,7 +566,7 @@ var source = fs.readFileSync(pugFile,
} }
data.body = process.argv[2]; data.body = process.argv[2];
console.log(ifs); console.log(units);
/* /*
console.log('INFO! Gulping files..'); console.log('INFO! Gulping files..');
svModed=[]; svModed=[];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment