diff --git a/lib/dao.js b/lib/dao.js index 267ab392..85741acc 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -765,10 +765,12 @@ DataAccessObject.prototype.reload = function reload(callback) { this.constructor.findById(getIdValue(this.constructor, this), callback); }; +/* setRemoting(DataAccessObject.prototype.reload, { description: 'Reload a model instance from the data source', returns: {arg: 'data', type: 'object', root: true} }); +*/ /** * Define readonly property on object