Skip to content

Commit

Permalink
chore:fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda committed Sep 12, 2024
1 parent 7da5b95 commit 60f3a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/workflowmanager/workflowstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 60f3a28

Please sign in to comment.