json format fix

This commit is contained in:
Luke Slater 2012-04-14 06:08:03 +01:00
parent 4290126222
commit eafeb23a77

View File

@ -11,7 +11,7 @@ var autoshorten = function(dbot) {
var site = http.createClient(80, 'http://nc.no.de');
var request = site.request("GET", 'mkurl', { 'host' : 'http://nc.no.de/',
'url' + url});
'url': url});
request.end();
request.on('response', function(response) {