diff --git a/js/server/modules/org/arangodb/foxx/model.js b/js/server/modules/org/arangodb/foxx/model.js index 5e44258c76..3ccd5084de 100644 --- a/js/server/modules/org/arangodb/foxx/model.js +++ b/js/server/modules/org/arangodb/foxx/model.js @@ -186,11 +186,6 @@ _.extend(Model.prototype, { get: function (attributeName) { 'use strict'; - var attrs = this.constructor.attributes; - if (attrs && _.keys(attrs).indexOf(attributeName) === -1) { - throw new Error("Unknown attribute: " + attributeName); - } - return this.attributes[attributeName]; },