mirror of https://gitee.com/bigwinds/arangodb
shut up jslint
This commit is contained in:
parent
e88fe036d6
commit
e90ee8c572
|
@ -187,7 +187,7 @@ extend(RequestContext.prototype, {
|
||||||
|
|
||||||
constraint[paramName] = this.typeToRegex[attributes.type];
|
constraint[paramName] = this.typeToRegex[attributes.type];
|
||||||
if (!constraint[paramName]) {
|
if (!constraint[paramName]) {
|
||||||
throw new Error("Illegal attribute type: " + attributes.type);
|
throw new Error("Illegal attribute type: " + attributes.type);
|
||||||
}
|
}
|
||||||
this.route.url = internal.constructUrlObject(url.match, constraint, url.methods[0]);
|
this.route.url = internal.constructUrlObject(url.match, constraint, url.methods[0]);
|
||||||
this.docs.addPathParam(paramName, attributes.description, attributes.type);
|
this.docs.addPathParam(paramName, attributes.description, attributes.type);
|
||||||
|
|
Loading…
Reference in New Issue