Skip to content

Commit

Permalink
fix: Use _id instead of id
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed Mar 25, 2020
1 parent 440b720 commit de27d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cozy-sharing/src/helpers/contacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export const getOrCreateFromArray = async (client, contacts, createContact) => {
address: contact.email
}
},
id: {
_id: {
$gt: null
}
},
{
indexedFields: ['id']
indexedFields: ['_id']
}
)

Expand Down

0 comments on commit de27d3b

Please sign in to comment.