---
title: "Comment by Fernando Torres on \"Build a REST API with Node.js: Finalizing Controllers\" | Hashnode"
description: "Hi! I like so much your series. Thanks for share your knowledge. I&#39;m trying to code your tutorial on my own repo, but at this point, I can&#39;t make that t"
url: "https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a/comment/5f717edc1c510d72d074a181"
---

[Discussion](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a)

Comment [Build a REST API with Node.js: Finalizing Controllers](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a)

[Fernando Torres](https://hashnode.com/@fertorresmx)

[Sep 28, 2020](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a/comment/5f717edc1c510d72d074a181)

Hi! I like so much your series. Thanks for share your knowledge.

I'm trying to code your tutorial on my own repo, but at this point, I can't make that two routes works like this post.

When I'm trying to delete a tea that is not on the collection, the message is the same "Tea deleted". But it dont delete any record, because it doesn't exist at all. Here I'm expecting the message "Tea doesn't exist."

And when post twice a new tea, with all the same values, it insert it anyway when we expect the message "Tea already exists".

The commit is [here](https://github.com/FernandoTorresL/Victoria-Lo_TAPI/commit/386e1eb7862e03cf7b7db61c6d771d5f5c396e8a)

I'm going to finish the proyect anyway and expect to solve in the future this issues.

[Victoria Lo](https://hashnode.com/@victoria)

[Jan 17, 2021](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a/comment/5f717edc1c510d72d074a181#reply-6003969d7b30c23b714a96a6)

Hi, sorry for the late reply. I see that you've completed the project and solve the issues yourself :)
