mirror of https://gitee.com/bigwinds/arangodb
Fix mounting with pathParams
This commit is contained in:
parent
f31c002d2e
commit
f593734233
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue