---
title: "Comment by Rishi Sadanandan on \"JavaScript Promise Chain - The art of handling promises\" | Hashnode"
description: "Awesome article! I think that there should be a return user. email in promise chain rule #2.c in the first .then() after checking if &quot;hr&quot; is in permis"
url: "https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa/comment/628fedeb8826d59c309dc79c"
---

[Discussion](https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa)

Comment [JavaScript Promise Chain - The art of handling promises](https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa)

[Rishi Sadanandan](https://hashnode.com/@keshloco)

[May 26, 2022](https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa/comment/628fedeb8826d59c309dc79c)

Awesome article! I think that there should be a return user. email in promise chain rule #2.c in the first .then() after checking if "hr" is in permissions. This is for properly passing down the user email in the case that "hr" is NOT in the permissions, I believe!

Great article anyways! I love working through your examples - hopefully I can learn promises and async programming so that I can move on to finally learn reactjs!

[Tapas Adhikary](https://hashnode.com/@atapas)

[May 27, 2022](https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa/comment/628fedeb8826d59c309dc79c#reply-629049d68826d59c309dcc90)

Thanks [Rishi](https://hashnode.com/@keshloco), yeah in that example we can return user.email as usual. I was a bit lazy I think to write that, left with a comment. Now added.

Thanks for reading and commenting. If you are learning React, please check out ReactPlay: [blog.greenroots.info/introducing-reactplay-learn-…](https://blog.greenroots.info/introducing-reactplay-learn-create-share-reactjs-projects)

[Rishi Sadanandan](https://hashnode.com/@keshloco)

[May 27, 2022](https://hashnode.com/posts/javascript-promise-chain-the-art-of-handling-promises/610cc4d5b79d6a113667ebaa/comment/628fedeb8826d59c309dc79c#reply-62904a469a7f929c55a4375a)

[Tapas Adhikary](https://hashnode.com/@atapas)

Awesome! I will check it out!
