-
Notifications
You must be signed in to change notification settings - Fork 154
[MM-47812] Refactor addUserToTeam function to return an error #603
Conversation
Hello @svbnbyrk, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project. Please help complete the Mattermost contribution license agreement? This is a standard procedure for many open source projects. Please let us know if you have any questions. We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team. |
/check-cla |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution @svbnbyrk. There are a few issues with the code formatting and I've suggested a small change in the test code. Otherwise this looks good.
Hi @noxer, I resolved all conversations. |
I didn't get any unit test, e2e test or lint errors. It seems ok. |
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution @svbnbyrk. I've added Ibrahim as the second reviewer. We'll merge it as soon as he approves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the contribution @svbnbyrk 🥇
Summary
Added multi-error handling for teamUsersAddCmdF func.
Ticket Link
Issue: mattermost/mattermost/issues/21474
Jira: https://mattermost.atlassian.net/browse/MM-47812