2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-10-31 09:20:27 +00:00
RTL/routes/channels.js
ShahanaFarooqui 3b70263c7d Payments Decode Send and List
Payments Decode Send and List
2018-10-11 20:03:54 -04:00

11 lines
386 B
JavaScript

const ChannelsController = require("../controllers/channels");
const express = require("express");
const router = express.Router();
router.get("/", ChannelsController.getChannels);
router.get("/:channelType", ChannelsController.getChannels);
router.post("/", ChannelsController.postChannel);
router.post("/transactions", ChannelsController.postTransactions);
module.exports = router;