Permalink
Browse files
ping: use .send instead of .end
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
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();
|
|
|
|
0 comments on commit
2efcef1