update
This commit is contained in:
parent
cf3b5f5e03
commit
6e44484959
|
@ -3,10 +3,11 @@ const router = express.Router(); // eslint-disable-line
|
|||
// const filter = require('../utilities/filter');
|
||||
const select = require('../db/selectDB');
|
||||
|
||||
router.get('/:collectionShelving', async(req, res) => {
|
||||
router.get('/:collectionShelving/:collectionFk', async(req, res) => {
|
||||
const collectionShelving = req.params.collectionShelving.split(',');
|
||||
const collectionFk = req.params.collectionFk;
|
||||
console.log(collectionShelving);
|
||||
let collectionFk = 273449;
|
||||
console.log(collectionFk);
|
||||
ticketShelving(collectionShelving, collectionFk);
|
||||
res.json({message: 'SUCCESS'});
|
||||
});
|
||||
|
|
Reference in New Issue