UP controller -> ts

This commit is contained in:
Nikola Petrov
2024-07-16 15:13:10 +02:00
parent b4b18cd44d
commit 905ab263de
5 changed files with 197 additions and 194 deletions

View File

@@ -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);

View File

@@ -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);