History (add/ remove) favorites add remove done
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
// routes/product.js
|
||||
const express = require("express");
|
||||
const { HistoryByUserId } = require("../controllers/history");
|
||||
const {
|
||||
HistoryByUserId,
|
||||
DelHistory,
|
||||
AddHistory,
|
||||
} = require("../controllers/history");
|
||||
const router = express.Router();
|
||||
|
||||
router.post("/getHistory", HistoryByUserId);
|
||||
router.post("/delHistory", DelHistory);
|
||||
router.post("/addHistory", AddHistory);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user