diff options
| author | Adam Soltys <[email protected]> | 2021-07-13 11:20:23 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-07-13 11:21:33 -0700 |
| commit | 6388e2b98843ad8ee5db855632334174efdaeedc (patch) | |
| tree | 701647d738d0b13cd41bdf9b75180e4923422d76 /routes | |
| parent | fc3e802856d1209ee9e47e3f0a2a073c475bd7ae (diff) | |
| download | coinos-server-6388e2b98843ad8ee5db855632334174efdaeedc.tar.gz coinos-server-6388e2b98843ad8ee5db855632334174efdaeedc.zip | |
user admin field and auth middleware
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/payments.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/payments.js b/routes/payments.js index 960b0d39..2547aa84 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -141,9 +141,9 @@ ah(async () => { lq = new BitcoinCore(config.liquid); rare = new BitcoinCore(config.rare); app.post("/liquid/broadcast", optionalAuth, require("./liquid/broadcast")); - // app.get("/liquid/generate", auth, require("./liquid/generate")); - // app.post("/liquid/fee", auth, require("./liquid/fee")); - // app.post("/liquid/send", auth, require("./liquid/send")); + app.get("/liquid/generate", auth, require("./liquid/generate")); + app.post("/liquid/fee", auth, require("./liquid/fee")); + app.post("/liquid/send", auth, require("./liquid/send")); require("./liquid/receive"); setTimeout(async () => { |
