From 5974af1903cc643e7fdf131c8cc143accd404c0a Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Fri, 28 Apr 2023 04:56:24 -0400 Subject: [PATCH] fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) (#6121) only take into account users that active for the first time --- packages/cli/src/events/WorkflowStatistics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/events/WorkflowStatistics.ts b/packages/cli/src/events/WorkflowStatistics.ts index 863aeb6e18..8089e57398 100644 --- a/packages/cli/src/events/WorkflowStatistics.ts +++ b/packages/cli/src/events/WorkflowStatistics.ts @@ -114,7 +114,7 @@ export async function workflowExecutionCompleted( workflow_id: workflowId, }; - if (!owner.settings?.firstSuccessfulWorkflowId) { + if (!owner.settings?.userActivated) { await UserService.updateUserSettings(owner.id, { firstSuccessfulWorkflowId: workflowId, userActivated: true,