Skip to content

Commit

Permalink
♻️ Remove duplicated information in the ItemCreate model (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaakko authored Aug 13, 2024
1 parent 572f513 commit 974340c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ItemBase(SQLModel):

# Properties to receive on item creation
class ItemCreate(ItemBase):
title: str = Field(min_length=1, max_length=255)
pass


# Properties to receive on item update
Expand Down

0 comments on commit 974340c

Please sign in to comment.