Interface & Budget: Extravaganza Problematic
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
@@ -7,7 +7,7 @@ import { budgetAdd } from '../controllers/budgetAddController.js'
|
||||
// import { sendResponse } from '../utils/response.js'
|
||||
|
||||
const router = express.Router()
|
||||
const controller_budgetSearch_get = new budgetSearch()
|
||||
const controller_budgetSearch_post = new budgetSearch()
|
||||
const controller_budgetAdd_put = new budgetAdd()
|
||||
|
||||
// router.post('/budgetSetup', async (req, res) => {
|
||||
@@ -21,7 +21,7 @@ router.post('/budgetadd', async (req, res) => {
|
||||
})
|
||||
|
||||
router.post('/budgetsearch', async (req, res) => {
|
||||
const result = await controller_budgetSearch_get.onNavigate(req, res)
|
||||
const result = await controller_budgetSearch_post.onNavigate(req, res)
|
||||
if (result) return res.json(result)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user