param-parse.js 256 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 'use strict'; const parameter = require(`${global.utils}/parameter`); module.exports = (req, res, next) => { let param = req.params.pathQs; if (param) { Object.assign(req.query, parameter.minPathToFullParam(param)); } next(); };