* fix #1144

* fix type checks

* refactor test routes package

* fix #1208

* unify test routes into module
This commit is contained in:
Hayden
2022-05-07 20:08:04 -08:00
committed by GitHub
parent 07f6446526
commit 68f7efc177
23 changed files with 189 additions and 148 deletions

View File

@@ -178,7 +178,7 @@ class RecipeService(BaseService):
def delete_one(self, slug) -> Recipe:
recipe = self._get_recipe(slug)
self.can_update(recipe)
data = self.repos.recipes.delete(slug)
data = self.repos.recipes.delete(recipe.id, "id")
self.delete_assets(data)
return data