aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-06 15:09:35 -0700
committerAdam Soltys <[email protected]>2020-05-06 15:09:35 -0700
commit2f0f9e640ead76518f7f8013b16704da89421ee4 (patch)
tree50932ac23661290139d871b46417f928fdf2aa8f /routes/payments.js
parent1b5f795c22a07adc978d129fd1e0066e46f6e4fa (diff)
downloadcoinos-server-2f0f9e640ead76518f7f8013b16704da89421ee4.tar.gz
coinos-server-2f0f9e640ead76518f7f8013b16704da89421ee4.zip
internal transfers
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js
index 0e829029..4089ae23 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -22,6 +22,8 @@ const { Op } = require("sequelize");
attributes: ["hash"]
})).map(p => p.hash);
+ app.post("/send", auth, require("./send"));
+
app.post("/lightning/invoice", auth, require("./lightning/invoice"));
app.post("/lightning/query", auth, require("./lightning/query"));
app.post("/lightning/send", auth, require("./lightning/send"));