Open Sddilora opened 6 months ago
I login as admin and use this mutation for testing “updateUserStatus”
mutation updateUserStatusAdmin{
updateUserStatus(user: {
Id: "20b7e1a5-b716-4820-bf98-e69c08786a00",
UserStatus: ACTIVE
}) {
Id
UserStatus
}
}
I tried 3 different “userstatus” for admin’s id, manager’ id, user’ id, guest’ id userstatus 1-None 2-ACTİVE 3- INACTİVE
Finally I successfully changed user status for 3 different users. But I couldn't change the administrators' status for Administrator. I don't know if this is a bug or if it's supposed to be this way for the admin anyway.
https://github.com/octoposprime/op-be-graphql/issues/29#issuecomment-2059324057
can you update your comment
I edited the code in my comment so that it looks properly, thank you for the caution. <3
I update it again and now it has colors voilà !
how did you do that?
I added "graphql" keyword after ```
Can you test the change admin status with admin credentials again.
https://github.com/octoposprime/op-be-graphql/issues/56#issuecomment-2089851889
Test the "updateUserStatus" mutation with all possible cases and create an issue if any bugs are found. If you encounter unexpected behavior or are unsure if it is intended, please create an issue for that as well.
You can find an example issue and bug report (or a question if this is a bug) in this link.
"Test GraphQL Query and Mutation" guide is available for further assistance.