When trying to add a new URL, the Node.js MongoDB driver complains with the following error:
ObjectID generation failed. Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
This is because the /new url gets captured by the /:id route defined in /route/task/index.js. It's another instance of #244 that I missed when fixing it.
When trying to add a new URL, the Node.js MongoDB driver complains with the following error:
This is because the
/new
url gets captured by the/:id
route defined in/route/task/index.js
. It's another instance of #244 that I missed when fixing it.