aboutsummaryrefslogtreecommitdiffstats
path: root/routes/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/send.js')
-rw-r--r--routes/send.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/routes/send.js b/routes/send.js
index c6de3acb..7cc403e1 100644
--- a/routes/send.js
+++ b/routes/send.js
@@ -1,7 +1,10 @@
-import axios from 'axios';
-import { v4 as uuidv4 } from 'uuid';
+import { callWebhook } from "../lib/webhooks.js";
+import axios from "axios";
+import { v4 as uuidv4 } from "uuid";
+import { notify } from "../lib/notifications.js";
+import { sendLiquid } from "./liquid/send.js";
-export default ah(async (req, res, next) => {
+export default async (req, res, next) => {
let {
amount,
address,
@@ -212,4 +215,4 @@ export default ah(async (req, res, next) => {
l.error("problem sending internal payment", user.username, e.message);
return res.status(500).send(e.message);
}
-});
+};