From 3a313a21d1ce06ba09eb3c431e2e350e17501704 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 22 Apr 2016 13:03:04 -0400 Subject: [PATCH] crunner --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 8a4ebbe..6b5acf3 100644 --- a/routes/api.js +++ b/routes/api.js @@ -29,7 +29,7 @@ var lxcTimeout = function(ip, time){ var runner = function(req, res, ip){ lxcTimeout(ip); - console.log('code to run:\n', req.params.code); + console.log('code to run:\n', req.params); return request.post({url:'http://'+ip, body: JSON.stringify({code: req.params.code}) }, function(error, response, body){ console.log(body); // body = JSON.parse(body);