diff options
| author | Adam Soltys <[email protected]> | 2020-02-28 10:54:01 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-02-28 10:54:01 -0800 |
| commit | 24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22 (patch) | |
| tree | 994cc84a61a11402ad909c96417f7ff304074f69 /payments.js | |
| parent | 453856c0ae0124a3735b0204fd0a58f31bca8a0b (diff) | |
| download | coinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.tar.gz coinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.zip | |
query routes and send to route
Diffstat (limited to 'payments.js')
| -rw-r--r-- | payments.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/payments.js b/payments.js index 9866d244..d34b53f1 100644 --- a/payments.js +++ b/payments.js @@ -10,6 +10,11 @@ module.exports = async (app, auth, addresses, bc, db, emit, seen, payments) => { require("./lightningPayments")(app, db, lna, lnb, emit, payments); app.post( + "/queryRoutes", + auth, + require("./queryRoutes")(app, db, emit, seen, lna, lnb) + ); + app.post( "/sendPayment", auth, require("./sendPayment")(app, db, emit, seen, lna, lnb) |
