aboutsummaryrefslogtreecommitdiffstats
path: root/routes/info.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/info.js')
-rw-r--r--routes/info.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/info.js b/routes/info.js
index 382c37c0..957c6926 100644
--- a/routes/info.js
+++ b/routes/info.js
@@ -1,7 +1,7 @@
const sequelize = require("sequelize");
const { Op } = sequelize;
-app.get("/info", async (req, res) => {
+app.get("/info", ah(async (req, res, next) => {
const { clientVersion } = config;
const accounts = await db.Account.findAll({
attributes: [
@@ -62,4 +62,4 @@ app.get("/info", async (req, res) => {
parseInt(lnwallet);
res.send(info);
-});
+}));