Ride-The-Lightning-RTL/backend/routes/lnd/newAddress.js

8 lines
281 B
JavaScript
Raw Normal View History

2021-12-30 00:08:41 +01:00
import exprs from 'express';
const { Router } = exprs;
import { isAuthenticated } from '../../utils/authCheck.js';
import { getNewAddress } from '../../controllers/lnd/newAddress.js';
const router = Router();
router.get('/', isAuthenticated, getNewAddress);
export default router;