Ride-The-Lightning-RTL/backend/routes/eclair/fees.js
ShahanaFarooqui bea5980c6f
Release 0.12.0 (#916)
Release 0.12.0
2021-12-29 18:08:41 -05:00

9 lines
338 B
JavaScript

import exprs from 'express';
const { Router } = exprs;
import { isAuthenticated } from '../../utils/authCheck.js';
import { getFees, getPayments } from '../../controllers/eclair/fees.js';
const router = Router();
router.get('/fees', isAuthenticated, getFees);
router.get('/payments', isAuthenticated, getPayments);
export default router;