Skip to content

Commit

Permalink
fix: remove unintended changes
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Aaqil <aaqilcs102@gmail.com>
  • Loading branch information
aaqilniz committed Feb 9, 2024
1 parent 600d68e commit fca6247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/connectors/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ Memory.prototype._findAllSkippingIncludes = function(model, filter) {
Memory.prototype.all = function all(model, filter, options, callback) {
const self = this;
const nodes = self._findAllSkippingIncludes(model, filter);

process.nextTick(function() {
if (filter && filter.include) {
self._models[model].model.include(nodes, filter.include, options, callback);
Expand Down
1 change: 1 addition & 0 deletions lib/dao.js
Original file line number Diff line number Diff line change
Expand Up @@ -1929,6 +1929,7 @@ DataAccessObject.find = function find(query, options, cb) {
delete obj.__data.__cachedRelations;
}
}

const keys = Object.keys(data);
keys.forEach(key => {
if (
Expand Down

0 comments on commit fca6247

Please sign in to comment.