Commit 290124c0 authored by project's avatar project

--no commit message

--no commit message
parent 3bb41af4
...@@ -82,7 +82,7 @@ function run_job(cfg) ...@@ -82,7 +82,7 @@ function run_job(cfg)
}); });
}, },
function(request,callback){ function(request,callback){
var dt_request = {'type':request.type,'data':request.data} var dt_request = {'input_type':request.type,'data':request.data}
perform_dt(context,dt_request,function(err,dt_resp){ perform_dt(context,dt_request,function(err,dt_resp){
if(dt_resp.status == 'success'){ if(dt_resp.status == 'success'){
callback(null,dt_resp); callback(null,dt_resp);
...@@ -92,7 +92,7 @@ function run_job(cfg) ...@@ -92,7 +92,7 @@ function run_job(cfg)
}); });
}, },
function(request,callback){ function(request,callback){
var do_request = {'type':request.type,'data':request.data} var do_request = {'input_type':request.type,'data':request.data}
perform_do(context,do_request,function(err,do_resp){ perform_do(context,do_request,function(err,do_resp){
if(do_resp.status == 'success'){ if(do_resp.status == 'success'){
callback(null,do_resp); callback(null,do_resp);
......
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