fix(editor): Send template id as a number in telemetry events (#8484)

This commit is contained in:
Milorad FIlipović
2024-01-30 10:37:06 +01:00
committed by GitHub
parent 5cb55270b7
commit 327cc8df73
2 changed files with 2 additions and 2 deletions

View File

@@ -1094,7 +1094,7 @@ export const workflowHelpers = defineComponent({
const templateId = this.$route.query.templateId;
if (templateId) {
this.$telemetry.track('User saved new workflow from template', {
template_id: templateId,
template_id: isNaN(+templateId) ? templateId : +templateId,
workflow_id: workflowData.id,
wf_template_repo_session_id: this.templatesStore.previousSessionId,
});