Skip to content

Commit

Permalink
fix: make name optional to prevent ui errors in workflowdto (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd authored May 13, 2024
1 parent 16dcb9a commit 7b998e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/api/models/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ProviderDTO(BaseModel):

class WorkflowDTO(BaseModel):
id: str
name: str
name: Optional[str] = "Workflow file doesn't contain name"
description: Optional[str] = "Workflow file doesn't contain description"
created_by: str
creation_time: datetime
Expand Down

0 comments on commit 7b998e8

Please sign in to comment.