Commit fe4ebe6e authored by project's avatar project

--no commit message

--no commit message
parent 99cd6ec6
...@@ -59,7 +59,8 @@ function execute_function(context,response){ ...@@ -59,7 +59,8 @@ function execute_function(context,response){
}, function(err) { }, function(err) {
if( err ) { if( err ) {
response.error(err); //response.error(err);
response.reject();
} else { } else {
//console.log(JSON.stringify(result)); //console.log(JSON.stringify(result));
response.success(result, output_type); response.success(result, output_type);
...@@ -89,7 +90,7 @@ function getData(url, lts, callback) { ...@@ -89,7 +90,7 @@ function getData(url, lts, callback) {
vals.push(val); vals.push(val);
beforeDateCheck(ct, lt); beforeDateCheck(ct, lt);
} }
})}).catch((err) => { }).catch((err) => {
callback(err); callback(err);
}); });
} }
......
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