Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: blockUser and unblockUser mutations are not working as expected. #439

Closed
sandeep-v1404 opened this issue Jan 24, 2022 · 0 comments · Fixed by #441
Closed
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@sandeep-v1404
Copy link
Contributor

Describe the bug
blockUser and unblockUser mutations are not working as expected.

To Reproduce
Steps to reproduce the behavior:

  1. npm start
  2. signup -> login
  3. create organization
  4. blockuser

Expected behavior

  • Only 1 entry of a user should be added to blockedUsers and appropriate error should popup.
  • unblockUser should work correctly.
  • Tests should run correctly.

Actual behavior

  • blockUser mutation has some errors which lead to duplicate id's in blockedUsers array of organization.
  • unblockUser mutation doesn't unblock the user correctly.
  • Tests are being failed too.

Screenshots
image
image
image

Additional details

N/A

@sandeep-v1404 sandeep-v1404 added the bug Something isn't working label Jan 24, 2022
@github-actions github-actions bot added duplicate This issue or pull request already exists unapproved Unapproved for Pull Request labels Jan 24, 2022
@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants