Skip to content

Commit

Permalink
JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneearth committed Jun 3, 2018
1 parent 677e715 commit 40a6753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/blockchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ router.get('/getBlockCount', (req, res, next) => {
}
})
.then((response) => {
res.send(response.data.result);
res.json(response.data.result);
})
.catch((error) => {
res.send(error.response.data.error.message);
Expand Down

0 comments on commit 40a6753

Please sign in to comment.