diff --git a/js/server/modules/org/arangodb/foxx/request_context.js b/js/server/modules/org/arangodb/foxx/request_context.js index 67ac2ff939..0d9418617a 100644 --- a/js/server/modules/org/arangodb/foxx/request_context.js +++ b/js/server/modules/org/arangodb/foxx/request_context.js @@ -187,7 +187,7 @@ extend(RequestContext.prototype, { constraint[paramName] = this.typeToRegex[attributes.type]; 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.docs.addPathParam(paramName, attributes.description, attributes.type);