diff --git a/js/server/modules/org/arangodb/foxx/model.js b/js/server/modules/org/arangodb/foxx/model.js index d13d5135ed..28fa7203b2 100644 --- a/js/server/modules/org/arangodb/foxx/model.js +++ b/js/server/modules/org/arangodb/foxx/model.js @@ -218,6 +218,7 @@ _.extend(Model.prototype, { } else { this.attributes[attributeName] = value; } + this.whitelistedAttributes = whitelistProperties(this.attributes, this.constructor.attributes); }, ////////////////////////////////////////////////////////////////////////////////