From a5064b3ab66370763fc64e8ddb4bffa32af94a59 Mon Sep 17 00:00:00 2001 From: Anna Thomas Date: Fri, 21 Nov 2014 16:34:57 +0000 Subject: [PATCH] Reloads module info after enabling/disabling module --- red/api/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red/api/nodes.js b/red/api/nodes.js index cd678d7e6..eb32b4078 100644 --- a/red/api/nodes.js +++ b/red/api/nodes.js @@ -197,7 +197,7 @@ module.exports = { } } } - res.json(module); + res.json(redNodes.getModuleInfo(mod)); } catch(err) { res.send(400,err.toString()); }