From b8bfdaf554a90d75a7eff9703ff1a3d41aa38400 Mon Sep 17 00:00:00 2001 From: Patrick Huber Date: Mon, 1 Dec 2014 20:56:23 +0100 Subject: [PATCH] remove attribute in method parameter --- js/server/modules/org/arangodb/foxx/request_context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/server/modules/org/arangodb/foxx/request_context.js b/js/server/modules/org/arangodb/foxx/request_context.js index eb63223953..1dfcb69bd0 100644 --- a/js/server/modules/org/arangodb/foxx/request_context.js +++ b/js/server/modules/org/arangodb/foxx/request_context.js @@ -228,7 +228,7 @@ extend(RequestContext.prototype, { /// ```js /// app.get("/foxx/:id", function { /// // Do something -/// }).pathParam("id", type: joi.number().integer().required().description("Id of the Foxx")); +/// }).pathParam("id", joi.number().integer().required().description("Id of the Foxx")); /// ``` /// /// You can also pass in a configuration object instead: