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);