This commit is contained in:
llopis15 2021-03-18 16:30:28 +01:00
parent cf3b5f5e03
commit 6e44484959
1 changed files with 3 additions and 2 deletions

View File

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