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

removeMember Mutation Malfunctioning #347

Closed
uzaxirr opened this issue Aug 16, 2021 · 1 comment
Closed

removeMember Mutation Malfunctioning #347

uzaxirr opened this issue Aug 16, 2021 · 1 comment
Labels
bug Something isn't working unapproved Unapproved for Pull Request

Comments

@uzaxirr
Copy link
Contributor

uzaxirr commented Aug 16, 2021

Describe the bug
removeMember mutation returns User is not a member even if the user id exists in DB and the Mutation is executed by Admin of the Org

To Reproduce
Steps to reproduce the behavior:

  1. Login as an Admin for any Org
  2. Try to remove a member who isn't an admin

Expected behavior
The member should be removed

Actual behavior
Instead of removing a member, The mutation throws the error User is not a member

Screenshots
Org's Document in DB
Screenshot from 2021-08-16 10-32-05

Logged in as an Admin
Screenshot from 2021-08-16 10-31-47

Mutation throws error
Screenshot from 2021-08-16 10-31-27

Additional details
As we can see that user with ID 611210e9c3353218d02426f7 exists in the members array of the org so it should be removed successfully but instead the mutation throws an error

@github-actions github-actions bot added bug Something isn't working unapproved Unapproved for Pull Request labels Aug 16, 2021
@SiddheshKukade
Copy link
Member

no further activities are seen

@SiddheshKukade SiddheshKukade closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 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 unapproved Unapproved for Pull Request
Projects
None yet
Development

No branches or pull requests

2 participants