You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the _.omit method only works on single object, so when trying to update multiple entries with null id and an array of objects, the omit don't work and the _id is not removed from entries, generating Error: You cannot change a document's _id !
The text was updated successfully, but these errors were encountered:
In /lib/index.js line 163 :
const entry = _.omit(data, '_id');
the _.omit method only works on single object, so when trying to update multiple entries with null id and an array of objects, the omit don't work and the _id is not removed from entries, generating
Error: You cannot change a document's _id !
The text was updated successfully, but these errors were encountered: