mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-25 01:03:13 -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):
|
||||
self.standard_quantity = self.standard_unit = None
|
||||
|
||||
return self
|
||||
|
||||
|
||||
class SaveIngredientUnit(CreateIngredientUnit):
|
||||
group_id: UUID4
|
||||
|
||||
Reference in New Issue
Block a user