Hello, friends
I’m currently doing Issue Tracker project and can’t pass 2 test
When the PUT request sent to /api/issues/{projectname} does not include update fields, the return value is { error: 'no update field(s) sent', '_id': _id }. On any other error, the return value is { error: 'could not update', '_id': _id }
All 14 functional tests are complete and passing.
For the second one, I just can’t figured how to .send
_id and make sure that id is exist in database.
Here’s my link https://repl.it/@IndraSubagja/boilerplate-project-issuetracker#routes/api.js
Any idea what might wrong?