2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-17 15:29:30 +00:00
RTL/backend/routes/lnd/invoices.js
ShahanaFarooqui 44412d357e
Release 0.12.3 (#1012)
LND Palemoon UX extension panel bug
Cookie file not generated for BTCPayServer #990
ECL Missing fee calculation on Dashboard #975
CLT channel filter on alias bug fix #982
CLightning to Code Lightning #997
Added Infographics for Channel Rebalance
CLN Base fee zero bug fix #987
ECL Query Route bug fix #1007
LND faster initial load
LND Transactions Lookup #1002
LND Bug fix for Routing Fee Calculation
2022-05-01 13:35:20 -04:00

10 lines
407 B
JavaScript

import exprs from 'express';
const { Router } = exprs;
import { isAuthenticated } from '../../utils/authCheck.js';
import { listInvoices, invoiceLookup, addInvoice } from '../../controllers/lnd/invoices.js';
const router = Router();
router.get('/', isAuthenticated, listInvoices);
router.get('/lookup/', isAuthenticated, invoiceLookup);
router.post('/', isAuthenticated, addInvoice);
export default router;