From a341739336078b7afcaba06254f7787f81df645c Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 2 Sep 2013 18:05:02 +0200 Subject: [PATCH] Reenabling associate action --- src/main.lua | 6 ------ src/rest/api/api_network.lua | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main.lua b/src/main.lua index f872e78..0364251 100644 --- a/src/main.lua +++ b/src/main.lua @@ -183,12 +183,6 @@ end local response, err = rq:handle() - - local utils = require('util.utils') - local log = require('util.logger') - log:info("Main (request handled") - log:info(" response.postResponseQueue: "..utils.dump(response.postResponseQueue)) - if err ~= nil then log:error(err) end response:send() diff --git a/src/rest/api/api_network.lua b/src/rest/api/api_network.lua index 132f27b..a385a65 100644 --- a/src/rest/api/api_network.lua +++ b/src/rest/api/api_network.lua @@ -108,7 +108,7 @@ function M.associate_POST(request, response) local associate = function() local rv,msg = netconf.associateSsid(argSsid, argPhrase, argRecreate) end - --response:addPostResponseFunction(associate) + response:addPostResponseFunction(associate) local helloA = function() local log = require('util.logger')