fix(config) json -> jonny

This commit is contained in:
coderaiser 2015-05-22 02:34:34 -04:00
parent b28e45af25
commit ba3b80e834

View file

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