Commit 617cc696 authored by project's avatar project

--no commit message

--no commit message
parent fe4ebe6e
......@@ -59,8 +59,8 @@ function execute_function(context,response){
}, function(err) {
if( err ) {
//response.error(err);
response.reject();
response.error(err);
//response.reject();
} else {
//console.log(JSON.stringify(result));
response.success(result, output_type);
......@@ -79,6 +79,7 @@ function getData(url, lts, callback) {
vals.push(data);
beforeDateCheck(cts, lts);
}
else callback(err);
function beforeDateCheck(ct, lt){
if (lt.isBefore(ct, 'days')) {
......
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