From eafeb23a77db9ab542bab913f7f7aeed961a4102 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 14 Apr 2012 06:08:03 +0100 Subject: [PATCH] json format fix --- modules/autoshorten.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/autoshorten.js b/modules/autoshorten.js index 7ccdb6d..72d2a5d 100644 --- a/modules/autoshorten.js +++ b/modules/autoshorten.js @@ -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) {