stuff
This commit is contained in:
@ -201,8 +201,7 @@ var run = function(req, res, runner){
|
|||||||
|
|
||||||
return request.post(httpOptions, function(error, response, body){
|
return request.post(httpOptions, function(error, response, body){
|
||||||
// console.log('runner response:', arguments)
|
// console.log('runner response:', arguments)
|
||||||
if(res.statusCode !== 200 || error) return run(req, res, getAvailrunner());
|
if(response.statusCode !== 200 || error) return run(req, res, getAvailrunner());
|
||||||
console.log('body', body);
|
|
||||||
body = JSON.parse(body);
|
body = JSON.parse(body);
|
||||||
|
|
||||||
body['ip'] = getAvailrunner(runner).label;
|
body['ip'] = getAvailrunner(runner).label;
|
||||||
|
Reference in New Issue
Block a user