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

9 lines
268 B
JavaScript
Raw Normal View History

2018-09-15 03:31:01 +02:00
const WalletController = require("../controllers/wallet");
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.post("/:operation", authCheck, WalletController.operateWallet);
2018-09-15 03:31:01 +02:00
module.exports = router;