aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.ts1
-rw-r--r--routes/payments.ts9
2 files changed, 0 insertions, 10 deletions
diff --git a/index.ts b/index.ts
index 78c43598..793bf2f8 100644
--- a/index.ts
+++ b/index.ts
@@ -84,7 +84,6 @@ app.post("/take", auth, payments.take);
app.post("/print", auth, payments.print);
app.post("/send/:lnaddress/:amount", auth, payments.lnaddress);
app.post("/send", auth, payments.internal);
-app.post("/gateway", payments.gateway);
app.post("/replace", auth, payments.replace);
app.get("/decode/:bolt11", payments.decode);
app.post("/fetchinvoice", payments.fetchinvoice);
diff --git a/routes/payments.ts b/routes/payments.ts
index 1845512c..43c098b6 100644
--- a/routes/payments.ts
+++ b/routes/payments.ts
@@ -626,15 +626,6 @@ export default {
}
},
- async gateway(req, res) {
- const {
- body: { short_channel_id, webhook },
- } = req;
-
- await s(short_channel_id, webhook);
- res.send({ ok: true });
- },
-
async replace(req, res) {
const {
body: { id },