diff options
Diffstat (limited to 'modules/unicode')
-rw-r--r-- | modules/unicode/unicode.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/unicode/unicode.js b/modules/unicode/unicode.js index 3221cb9..d3e7fb9 100644 --- a/modules/unicode/unicode.js +++ b/modules/unicode/unicode.js @@ -118,9 +118,9 @@ module.exports = function (app, io, moddir) { chars.push(lookupCode(codepoint)); } - res.end(JSON.stringify({ + res.json({ chars: chars, search: searchDescription(req.params.query), - })); + }); }); }; |