You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
390 B
JavaScript
10 lines
390 B
JavaScript
5 years ago
|
const ChannelsBackupController = require("../../controllers/lnd/channelsBackup");
|
||
5 years ago
|
const express = require("express");
|
||
|
const router = express.Router();
|
||
5 years ago
|
const authCheck = require("../authCheck");
|
||
5 years ago
|
|
||
|
router.get("/:channelPoint", authCheck, ChannelsBackupController.getBackup);
|
||
|
router.post("/verify/:channelPoint", authCheck, ChannelsBackupController.postBackupVerify);
|
||
|
|
||
|
module.exports = router;
|