Skip to content

Commit

Permalink
Fixed manufacturer with spool weight 0 not being allowed
Browse files Browse the repository at this point in the history
Resolves #521
  • Loading branch information
Donkie committed Nov 25, 2024
1 parent a3be91b commit 139d435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spoolman/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Vendor(BaseModel):
)
empty_spool_weight: Optional[float] = Field(
None,
gt=0,
ge=0,
description="The empty spool weight, in grams.",
examples=[140],
)
Expand Down

0 comments on commit 139d435

Please sign in to comment.