aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/lightning/send.js')
-rw-r--r--routes/lightning/send.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/lightning/send.js b/routes/lightning/send.js
index be68143e..ad1bea62 100644
--- a/routes/lightning/send.js
+++ b/routes/lightning/send.js
@@ -1,4 +1,4 @@
-module.exports = async (req, res) => {
+module.exports = ah(async (req, res) => {
let { amount, route, memo, payreq } = req.body;
let { user } = req;
@@ -9,4 +9,4 @@ module.exports = async (req, res) => {
res.status(500).send(e.message);
throw new Error(e.message);
}
-};
+});