1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-22 06:39:41 +02:00

fix: Fixing the OpenAPI Spec and the Call to delete a shared recipe. (#5537)

This commit is contained in:
Sravan Kumar 2025-06-17 07:05:17 -07:00 committed by GitHub
parent 038fbd38ef
commit 69488bd6df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,5 +46,5 @@ class RecipeSharedController(BaseUserController):
return self.mixins.get_one(item_id) return self.mixins.get_one(item_id)
@router.delete("/{item_id}") @router.delete("/{item_id}")
def delete_one(self, item_id: UUID4 | None = None) -> None: def delete_one(self, item_id: UUID4) -> None:
return self.mixins.delete_one(item_id) return self.mixins.delete_one(item_id)