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]: admin Mutations doesn't work as expected #446

Closed
sandeep-v1404 opened this issue Jan 24, 2022 · 0 comments · Fixed by #447
Closed

[Bug Report]: admin Mutations doesn't work as expected #446

sandeep-v1404 opened this issue Jan 24, 2022 · 0 comments · Fixed by #447
Assignees
Labels
bug Something isn't working

Comments

@sandeep-v1404
Copy link
Contributor

sandeep-v1404 commented Jan 24, 2022

Describe the bug
admin Mutations doesn't work as expected

To Reproduce
Steps to reproduce the behavior:

  1. npm start
  2. signup -> login
  3. createOrg
  4. createAdmin
  5. removeAdmin

Expected behavior

  • createAdmin should create an admin and removeAdmin should remove the admin.
  • Tests should pass.

Actual behavior

  • createAdmin mutation should make a new member as admin, but it returns an error as user is not a member.
  • removeAdmin mutation remove admin, but it returns an error as User is not authorized.
  • Tests are failed.

Screenshots

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 the unapproved Unapproved for Pull Request label Jan 24, 2022
@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Jan 25, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants