Skip to content

Commit

Permalink
fix: fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Feb 15, 2024
1 parent a0b29d2 commit 3dfe6ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ class TicketCreate(BaseModel):
)
type: IssueType = Field(..., description="Type of the issue")
url: str = Field(..., description="URL of the product or of the flagged image")
status: TicketStatus = Field(TicketStatus.open, description="Status of the ticket")
status: TicketStatus = Field(
default=TicketStatus.open, description="Status of the ticket"
)
image_id: str | None = Field(
None,
description="ID of the flagged image, if the ticket type is `image`",
Expand Down

0 comments on commit 3dfe6ae

Please sign in to comment.