2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-17 15:29:30 +00:00
RTL/routes/c-lightning/invoices.js
Shahana Farooqui f517357702 Copy Icon and Invoices
Copy Icon and Invoices
2019-09-13 23:19:35 -04:00

10 lines
409 B
JavaScript

const invoicesController = require("../../controllers/c-lightning/invoices");
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
router.get("/", authCheck, invoicesController.listInvoices);
router.post("/", authCheck, invoicesController.addInvoice);
router.delete("/", authCheck, invoicesController.deleteExpiredInvoice);
module.exports = router;