From f0a06de464a68405e8acb567d3e71fedcbbf9bcc Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Tue, 4 Oct 2016 19:10:01 -0700 Subject: [PATCH] fix var node for @d3x0r --- gun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gun.js b/gun.js index 9b37d793..cd2a14ed 100644 --- a/gun.js +++ b/gun.js @@ -2307,7 +2307,7 @@ }); server.get = function(req, cb){ var body = req.body, lex = body['$'], opt; - var graph = gun._.root._.graph; + var graph = gun._.root._.graph, node; if(!(node = graph[lex['#']])){ return } // Don't reply to data we don't have it in memory. TODO: Add localStorage? cb({body: { '#': server.msg(),