Skip to content

Commit

Permalink
feat: added naming option to workflow builder
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd committed May 10, 2024
1 parent c04e0b6 commit 43f0642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/api/routes/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async def update_workflow_by_id(
parser = Parser()
workflow_interval = parser.parse_interval(workflow)
# In case the workflow name changed to empty string, keep the old name
if workflow.get("name") is not "":
if workflow.get("name") != "":
workflow_from_db.name = workflow.get("name")
else:
workflow["name"] = workflow_from_db.name
Expand Down

0 comments on commit 43f0642

Please sign in to comment.