You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Login as an Admin for any Org
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
Logged in as an Admin
Mutation throws error
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
The text was updated successfully, but these errors were encountered:
Describe the bug
removeMember
mutation returnsUser is not a member
even if the user id exists in DB and the Mutation is executed by Admin of the OrgTo Reproduce
Steps to reproduce the behavior:
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
Logged in as an Admin
Mutation throws error
Additional details
As we can see that user with ID
611210e9c3353218d02426f7
exists in themembers
array of the org so it should be removed successfully but instead the mutation throws an errorThe text was updated successfully, but these errors were encountered: