Ride-The-Lightning-RTL/routes/payReq.js
2019-01-01 11:26:51 -05:00

9 lines
276 B
JavaScript

const PayRequestController = require("../controllers/payReq");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.get("/:payRequest", authCheck, PayRequestController.decodePayment);
module.exports = router;