diff --git a/routes/ping.js b/routes/ping.js index 0f0e079..49e584c 100644 --- a/routes/ping.js +++ b/routes/ping.js @@ -16,8 +16,8 @@ router.get('/', function(req, res) { res.set('Content-Type', 'application/json') .set(200) - .end('{ "operation": "ping",' + - ' "message": "Thanks! Live long and prosper!" }'); + .send('{ "operation": "ping",' + + ' "message": "Thanks! Live long and prosper!" }'); update_pkg_db(); update_r_db();