mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Fix test
This commit is contained in:
parent
22cc05a80c
commit
d6d19ff38e
3
node_modules/frontdoor/lib/route.js
generated
vendored
3
node_modules/frontdoor/lib/route.js
generated
vendored
@ -161,7 +161,8 @@ module.exports = function Route(route, options, handler, types) {
|
||||
* the decoded and validated parameters are stored in `req.params`
|
||||
* otherwhise an error is returned.
|
||||
*/
|
||||
var decodeParams = this.decodeParams = function(req, res, next) {
|
||||
this.decodeParams = decodeParams;
|
||||
function decodeParams(req, res, next) {
|
||||
var urlParams = req.match;
|
||||
if (!urlParams) return;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user