From 60f3a2840046eaa138d0f0b3ed8e6c849fc96474 Mon Sep 17 00:00:00 2001 From: Rajesh Jonnalagadda Date: Thu, 12 Sep 2024 13:25:27 +0530 Subject: [PATCH] chore:fix typo --- keep/workflowmanager/workflowstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keep/workflowmanager/workflowstore.py b/keep/workflowmanager/workflowstore.py index f116aee30..90f5984f6 100644 --- a/keep/workflowmanager/workflowstore.py +++ b/keep/workflowmanager/workflowstore.py @@ -120,7 +120,7 @@ def get_workflow(self, tenant_id: str, workflow_id: str) -> Workflow: detail=f"Workflow {workflow_id} not found", ) workflow_yaml = yaml.safe_load(workflow) - if raw_workflow and workflow_yaml: + if workflow and workflow_yaml: #Ensure that old workflows created through uploads are updated with the original UUID. workflow_yaml["id"] = workflow_id