diff options
| author | Adam Soltys <[email protected]> | 2019-10-08 08:24:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2019-10-08 08:24:21 -0700 |
| commit | 720c020c86d885ac7bc3bc85898f192ff4711e59 (patch) | |
| tree | 4098f32d9cda0e58938adb18a2548656fc5bf028 /payments.js | |
| parent | 17ec55e2567d956b4c7741ce6de7f6b8227bd787 (diff) | |
| download | coinos-server-720c020c86d885ac7bc3bc85898f192ff4711e59.tar.gz coinos-server-720c020c86d885ac7bc3bc85898f192ff4711e59.zip | |
fix pay user function
Diffstat (limited to 'payments.js')
| -rw-r--r-- | payments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payments.js b/payments.js index d2e89b44..519cd1b4 100644 --- a/payments.js +++ b/payments.js @@ -13,7 +13,7 @@ module.exports = async (app, auth, addresses, bc, db, emit, seen, payments) => { auth, require("./sendPayment")(app, db, emit, seen, lna, lnb) ); - app.post("/payUser", auth, require("./payUser")(db, lnb)); + app.post("/payUser", auth, require("./payUser")(app, db, lnb)); app.post("/sendCoins", auth, require("./sendCoins")(app, bc, db, emit)); app.post("/addInvoice", auth, require("./addInvoice")(app, db, lnb)); }; |
