mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-09 13:10:44 +00:00
46afc9cb24
Payment, channel and onchain Post calls
10 lines
340 B
JavaScript
10 lines
340 B
JavaScript
const OnChainController = require("../../controllers/c-lightning/onchain");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
const authCheck = require("../authCheck");
|
|
|
|
router.get("/", authCheck, OnChainController.getNewAddress);
|
|
router.post("/", authCheck, OnChainController.onChainWithdraw);
|
|
|
|
module.exports = router;
|