From ba3b80e83483bf37b4a349d5bb0b4a90f11d42a6 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 22 May 2015 02:34:34 -0400 Subject: [PATCH] fix(config) json -> jonny --- lib/server/config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/config.js b/lib/server/config.js index 5254af63..16cc16f1 100644 --- a/lib/server/config.js +++ b/lib/server/config.js @@ -20,7 +20,7 @@ tryCatch = require('try-catch'), pipe = require('pipe-io'), ponse = require('ponse'), - json = require('jonny'), + jonny = require('jonny'), apiURL = CloudFunc.apiURL, @@ -124,7 +124,7 @@ } function get(req, res) { - var data = json.stringify(config); + var data = jonny.stringify(config); ponse.send(data, { name : 'config.json', @@ -144,7 +144,7 @@ pipe.getBody(req, function(error, body) { var data = '', - json = json.parse(body) || {}; + json = jonny.parse(body) || {}; if (error) callback(error);