diff --git a/catalog/app/containers/Admin/Users/gql/UserResultSelection.graphql b/catalog/app/containers/Admin/Users/gql/UserResultSelection.graphql index 86ae6e80d97..d1e1da5b755 100644 --- a/catalog/app/containers/Admin/Users/gql/UserResultSelection.graphql +++ b/catalog/app/containers/Admin/Users/gql/UserResultSelection.graphql @@ -2,7 +2,9 @@ fragment UserResultSelection on UserResult { __typename - ... on User { ...UserSelection } + ... on User { + ...UserSelection + } ... on InvalidInput { errors { path diff --git a/catalog/app/containers/NavBar/gql/Me.graphql b/catalog/app/containers/NavBar/gql/Me.graphql index 219f41ac532..a65a579108a 100644 --- a/catalog/app/containers/NavBar/gql/Me.graphql +++ b/catalog/app/containers/NavBar/gql/Me.graphql @@ -3,7 +3,11 @@ query { name email isAdmin - role { name } - roles { name } + role { + name + } + roles { + name + } } } diff --git a/catalog/app/containers/NavBar/gql/SwitchRole.graphql b/catalog/app/containers/NavBar/gql/SwitchRole.graphql index b2858b7cc8e..e1577f50cc5 100644 --- a/catalog/app/containers/NavBar/gql/SwitchRole.graphql +++ b/catalog/app/containers/NavBar/gql/SwitchRole.graphql @@ -5,8 +5,12 @@ mutation ($roleName: String!) { name email isAdmin - role { name } - roles { name } + role { + name + } + roles { + name + } } ... on OperationError { message