Skip to content

Commit

Permalink
remove unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Apr 12, 2024
1 parent 9152b24 commit 569e28b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/node_modules/pouchdb-core/src/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ class AbstractPouchDB extends EventEmitter {
if (typeof doc !== 'object' || Array.isArray(doc)) {
return callback(createError(NOT_AN_OBJECT));
}
if ('_rev' in doc) {
return callback(createError({bad:true}));
}
this.bulkDocs({docs: [doc]}, opts, yankError(callback, doc._id));
}).bind(this);

Expand Down

0 comments on commit 569e28b

Please sign in to comment.