Ride-The-Lightning-RTL/routes/c-lightning/channels.js
Shahana Farooqui fd18fc5dca OnChain & Payments
OnChain & Payments
2019-09-08 15:09:00 -04:00

9 lines
372 B
JavaScript

const ChannelsController = require("../../controllers/c-lightning/channels");
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
router.get("/localremotebalance", authCheck, ChannelsController.getLocalRemoteBalance);
router.post("/", authCheck, ChannelsController.forwardingHistory);
module.exports = router;