mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-01-18 21:32:27 +01:00
a594606d27
* Fix `Unknown command` error when disabling offers on CLN. ([#1443]) (#1451) * Add missing SSO options to config (#1455) * Fix for cln logic screen navigation (#1457) * Transactions destination address display fix (#1458) * cln delexpiredinvoices deprecation fix (#1459) * Read LN_IMPLEMENTATION from environment (#1460) * Add Fee Rate Information on Send Funds Modal (#1461) * Artifact script fix (#1464) * Add AMP toggle for LND Send Payments (#1466) --------- Co-authored-by: Se7enZ <118189041+s373nZ@users.noreply.github.com>
13 lines
656 B
JavaScript
13 lines
656 B
JavaScript
import exprs from 'express';
|
|
const { Router } = exprs;
|
|
import { isAuthenticated } from '../../utils/authCheck.js';
|
|
import { getAllChannels, getPendingChannels, getClosedChannels, postChannel, closeChannel, postChanPolicy } from '../../controllers/lnd/channels.js';
|
|
const router = Router();
|
|
router.get('/', isAuthenticated, getAllChannels);
|
|
router.get('/pending', isAuthenticated, getPendingChannels);
|
|
router.get('/closed', isAuthenticated, getClosedChannels);
|
|
router.post('/', isAuthenticated, postChannel);
|
|
router.delete('/:channelPoint', isAuthenticated, closeChannel);
|
|
router.post('/chanPolicy', isAuthenticated, postChanPolicy);
|
|
export default router;
|