Ride-The-Lightning-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;