Ride-The-Lightning-RTL/routes/payments.js

9 lines
261 B
JavaScript
Raw Normal View History

const PaymentsController = require("../controllers/payments");
const express = require("express");
const router = express.Router();
2019-01-01 17:26:51 +01:00
const authCheck = require("./authCheck");
2019-01-01 17:26:51 +01:00
router.get("/", authCheck, PaymentsController.getPayments);
module.exports = router;