Skip to content

Commit

Permalink
update createAdmin Mutation (PalisadoesFoundation#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenDsza authored May 8, 2024
1 parent e301f94 commit 872414a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GraphQl/Mutations/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ export const REMOVE_MEMBER_MUTATION = gql`
export const ADD_ADMIN_MUTATION = gql`
mutation CreateAdmin($orgid: ID!, $userid: ID!) {
createAdmin(data: { organizationId: $orgid, userId: $userid }) {
_id
user {
_id
}
}
}
`;
Expand Down

0 comments on commit 872414a

Please sign in to comment.