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

9 lines
264 B
JavaScript
Raw Normal View History

2018-09-15 03:31:01 +02:00
const BalanceController = require("../controllers/balance");
const express = require("express");
const router = express.Router();
2019-01-01 17:26:51 +01:00
const authCheck = require("./authCheck");
2018-09-15 03:31:01 +02:00
2019-01-01 17:26:51 +01:00
router.get("/:source", authCheck, BalanceController.getBalance);
2018-09-15 03:31:01 +02:00
module.exports = router;