2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/routes/c-lightning/onchain.js
Shahana Farooqui 46afc9cb24 Payment, channel and onchain Post calls
Payment, channel and onchain Post calls
2019-09-14 15:58:21 -04:00

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;