mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-02-23 06:35:19 +01:00
9 lines
382 B
JavaScript
9 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;
|