mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-19 15:25:29 +00:00
bea5980c6f
Release 0.12.0
11 lines
283 B
TypeScript
11 lines
283 B
TypeScript
import exprs from 'express';
|
|
const { Router } = exprs;
|
|
import { isAuthenticated } from '../../utils/authCheck.js';
|
|
import { getNodes } from '../../controllers/eclair/network.js';
|
|
|
|
const router = Router();
|
|
|
|
router.get('/nodes/:id', isAuthenticated, getNodes);
|
|
|
|
export default router;
|