Open tsherdiwala opened 11 months ago
Hi @tsherdiwala,
I've looked into the issue you raised. I'm happy to let you know that the issue has been resolved. The necessary changes have been made and committed to the repository. You can find the details in the following commit: commit link.
Thank you for bringing this to my attention and for your contribution to the project!
Best regards, Soni Yadav
The following code seems to have many recurring things appearing:
File name:
https://github.com/SoniYadav1234/TodoProject/blob/main/routes/todolist.js
LinkHere I can see that
checkAuth
is being used at multiple places and is not able to keep the code DRY. Can we have some refactoring around this.Also kindly revisit the corresponding
user.js
file as well which has similar issues.