diff --git a/client/coral-framework/graphql/fragments.js b/client/coral-framework/graphql/fragments.js index 00c563e1b..26073676b 100644 --- a/client/coral-framework/graphql/fragments.js +++ b/client/coral-framework/graphql/fragments.js @@ -10,6 +10,7 @@ export default { 'SetUserSuspensionStatusResponse', 'SetCommentStatusResponse', 'SetUsernameStatusResponse', + 'UnSuspendUserResponse', 'SuspendUserResponse', 'CreateCommentResponse', 'CreateFlagResponse', diff --git a/client/coral-framework/graphql/mutations.js b/client/coral-framework/graphql/mutations.js index 8797f0753..80d28d784 100644 --- a/client/coral-framework/graphql/mutations.js +++ b/client/coral-framework/graphql/mutations.js @@ -179,9 +179,9 @@ export const withSuspendUser = withMutation( export const withUnSuspendUser = withMutation( gql` - mutation UnSuspendUser($input: SuspendUserInput!) { + mutation UnSuspendUser($input: UnSuspendUserInput!) { unSuspendUser(input: $input) { - ...SuspendUserResponse + ...UnSuspendUserResponse } } `, {