#import "../fragments/http_integration_item.fragment.graphql"

mutation updateHttpIntegration($id: ID!, $name: String!, $active: Boolean!) {
  httpIntegrationUpdate(input: { id: $id, name: $name, active: $active }) {
    errors
    # We have ID in a deeply nested fragment
    # eslint-disable-next-line @graphql-eslint/require-id-when-available
    integration {
      ...HttpIntegrationItem
    }
  }
}
