2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-09 13:10:44 +00:00
RTL/routes/lnd/peers.js
Shahana Farooqui ab54c44b73 Incomplete lazy load 8
Incomplete lazy load 8
2019-09-01 13:01:38 -04:00

11 lines
382 B
JavaScript

const PeersController = require("../../controllers/lnd/peers");
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
router.get("/", authCheck, PeersController.getPeers);
router.post("/", authCheck, PeersController.postPeer);
router.delete("/:peerPubKey", authCheck, PeersController.deletePeer);
module.exports = router;