mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-03 23:15:24 +00:00
c2c159dba5
Channel backup & #157 custom expiry time for invoice
10 lines
382 B
JavaScript
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;
|