diff --git a/client/coral-framework/graphql/fragments.js b/client/coral-framework/graphql/fragments.js index fa45b69da..1b6add999 100644 --- a/client/coral-framework/graphql/fragments.js +++ b/client/coral-framework/graphql/fragments.js @@ -9,7 +9,7 @@ export default { 'SetUserSuspensionStatusResponse', 'SetCommentStatusResponse', 'SuspendUserResponse', - 'SetUsernameStatusResponse', + 'SuspendUserResponse', 'CreateCommentResponse', 'CreateFlagResponse', 'EditCommentResponse', diff --git a/client/coral-framework/graphql/mutations.js b/client/coral-framework/graphql/mutations.js index 25ad3205c..021984ff9 100644 --- a/client/coral-framework/graphql/mutations.js +++ b/client/coral-framework/graphql/mutations.js @@ -160,9 +160,9 @@ export const withSetCommentStatus = withMutation( export const withSuspendUser = withMutation( gql` - mutation SuspendUser($input: SetUserSuspensionStatusInput!) { - setUserSuspensionStatus(input: $input) { - ...SetUserSuspensionStatusResponse + mutation SuspendUser($input: SuspendUserInput!) { + suspendUser(input: $input) { + ...SuspendUserResponse } } `, {