Skip to content

Commit

Permalink
fix: Product.brands should be a string. ref #93
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Dec 23, 2023
1 parent 4c355ce commit 7bbf1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ProductBase(ProductCreate):
description="quantity of the product, normalized in g or mL (depending on the product).",
examples=[700],
)
brands: int | None = Field(
brands: str | None = Field(
description="brand(s) of the product.",
examples=["Rigoni di Asiago", "Lindt"],
)
Expand Down

0 comments on commit 7bbf1fc

Please sign in to comment.