1
0
Fork 0

Fix mounting with pathParams

This commit is contained in:
Alan Plum 2016-06-16 14:04:07 +02:00
parent f31c002d2e
commit f593734233
No known key found for this signature in database
GPG Key ID: 8ED72A9A323B6EFD
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ module.exports = Object.assign(
}
name = name.slice(1);
ctx._pathParamNames.push(name);
ctx.pathParam(name, DEFAULT_PARAM_SCHEMA);
ctx._pathParams.set(name, {schema: DEFAULT_PARAM_SCHEMA});
return $_PARAM;
});
if (tokens[tokens.length - 1] !== $_WILDCARD) {