13 lines
303 B
JavaScript
13 lines
303 B
JavaScript
const express = require("express");
|
|
const {
|
|
getTransactionWithPagination,
|
|
removeTransation,
|
|
} = require("../controllers/transaction");
|
|
|
|
const router = express.Router();
|
|
|
|
router.get("/getTransactions", getTransactionWithPagination);
|
|
router.delete("/:id", removeTransation);
|
|
|
|
module.exports = router;
|