mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-26 17:53:12 -05:00
add missing return self to validator
This commit is contained in:
@@ -144,6 +144,8 @@ class CreateIngredientUnit(UnitFoodBase):
|
|||||||
elif not ((self.standard_quantity or 0) > 0):
|
elif not ((self.standard_quantity or 0) > 0):
|
||||||
self.standard_quantity = self.standard_unit = None
|
self.standard_quantity = self.standard_unit = None
|
||||||
|
|
||||||
|
return self
|
||||||
|
|
||||||
|
|
||||||
class SaveIngredientUnit(CreateIngredientUnit):
|
class SaveIngredientUnit(CreateIngredientUnit):
|
||||||
group_id: UUID4
|
group_id: UUID4
|
||||||
|
|||||||
Reference in New Issue
Block a user