mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 05:25:26 +02:00
refactor: remove depreciated repo call (#1370)
* ingredient parser hot fixes (float equality) * remove `get` in favor of `get_one` & `multi_query`
This commit is contained in:
parent
b904b161eb
commit
932f4a72df
10 changed files with 25 additions and 44 deletions
2
tests/fixtures/fixture_shopping_lists.py
vendored
2
tests/fixtures/fixture_shopping_lists.py
vendored
|
@ -75,7 +75,7 @@ def list_with_items(database: AllRepositories, unique_user: TestUser):
|
|||
)
|
||||
|
||||
# refresh model
|
||||
list_model = database.group_shopping_lists.get(list_model.id)
|
||||
list_model = database.group_shopping_lists.get_one(list_model.id)
|
||||
|
||||
yield list_model
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue