diff --git a/server/channels/api4/cloud.go b/server/channels/api4/cloud.go index 1c448a0efd..f795e3c1d2 100644 --- a/server/channels/api4/cloud.go +++ b/server/channels/api4/cloud.go @@ -889,5 +889,4 @@ func selfServeDeleteWorkspace(c *Context, w http.ResponseWriter, r *http.Request c.App.Srv().GetTelemetryService().SendTelemetry("delete_workspace_feedback", deleteRequest.Feedback.ToMap()) ReturnStatusOK(w) - } diff --git a/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx b/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx index f41cc7b716..485dfad01d 100644 --- a/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx +++ b/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx @@ -29,7 +29,6 @@ import {getSubscriptionProduct} from 'mattermost-redux/selectors/entities/cloud' import {isCloudLicense} from 'utils/license_utils'; import {getLicense} from 'mattermost-redux/selectors/entities/general'; import {DispatchFunc} from 'mattermost-redux/types/actions'; -import {trackEvent} from 'actions/telemetry_actions'; import useGetSubscription from 'components/common/hooks/useGetSubscription'; import DeleteWorkspaceSuccessModal from './success_modal'; @@ -122,7 +121,6 @@ export default function DeleteWorkspaceModal(props: Props) { modalId: ModalIdentifiers.DELETE_WORKSPACE_RESULT, dialogType: DeleteWorkspaceSuccessModal, })); - trackEvent('cloud_admin', 'self_serve_workspace_deletion_completed'); } else { // Failure dispatch(openModal({ modalId: ModalIdentifiers.DELETE_WORKSPACE_RESULT,