2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-03 23:15:24 +00:00
RTL/routes/channelsBackup.js
ShahanaFarooqui c2c159dba5 Channel backup & #157 custom expiry time for invoice
Channel backup & #157 custom expiry time for invoice
2019-06-17 17:26:46 -04:00

10 lines
382 B
JavaScript

const ChannelsBackupController = require("../controllers/channelsBackup");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.get("/:channelPoint", authCheck, ChannelsBackupController.getBackup);
router.post("/verify/:channelPoint", authCheck, ChannelsBackupController.postBackupVerify);
module.exports = router;