diff --git a/src/GraphQl/Mutations/mutations.ts b/src/GraphQl/Mutations/mutations.ts index c5d0ea1c1a..2ed67be88d 100644 --- a/src/GraphQl/Mutations/mutations.ts +++ b/src/GraphQl/Mutations/mutations.ts @@ -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 + } } } `;