Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop throwing parsing errors #341

Closed
wants to merge 1 commit into from
Closed

Conversation

boycce
Copy link

@boycce boycce commented May 31, 2021

{ _id: '5ce26c0cb1476f59f287223dd' } would yield:

Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
at Function.createFromHexString (/node_modules/bson/lib/bson/objectid.js:312:11)
at Object.exports.id (/node_modules/monk/lib/helpers.js:13:45)
at /node_modules/monk/lib/helpers.js:39:29
at Array.forEach (

`{ _id: '5ce26c0cb1476f59f287223dd' }` would yield:

Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
    at Function.createFromHexString (/node_modules/bson/lib/bson/objectid.js:312:11)
    at Object.exports.id (/node_modules/monk/lib/helpers.js:13:45)
    at /node_modules/monk/lib/helpers.js:39:29
    at Array.forEach (<anonymous>
@boycce boycce closed this May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant