UP controller -> ts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import express from "express";
|
||||
const router = express.Router();
|
||||
import cashTransaction from '../../controllers/cashTransactionController.js';
|
||||
import cashTransaction from '../../controllers/cashTransactionController';
|
||||
|
||||
router.post('/list', cashTransaction.list);
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import express from "express";
|
||||
var router = express.Router();
|
||||
import gameController from '../../controllers/gameController.js';
|
||||
import gameController from '../../controllers/gameController';
|
||||
import checkAuthenticated from '../../miscellaneous/checkAuthenticated';
|
||||
|
||||
router.get('/', gameController.list);
|
||||
|
Reference in New Issue
Block a user