Problem with Issue Tracker Project

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

Any idea what might wrong?

Ok, I solved it and pass the test but sometimes, when functional_test.js test is complete, my repl auotmatically disconnect and I must reconnect it again. Is it just because of repl connection or maybe my code is wrong somewhere?

@Anon551122 Thanks for replying. When it disconnect, my app stop working. So, I must reconnect it to make it work again. Sometimes I even must reconnect until 3 times.