mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 22:13:31 -07:00
don't override webhooks with bodies set already
This commit is contained in:
parent
94af45983b
commit
22376466d5
1 changed files with 0 additions and 2 deletions
|
@ -149,8 +149,6 @@ class WebhookEventListener(EventListenerBase):
|
|||
def publish_to_subscribers(self, event: Event, subscribers: list[ReadWebhook]) -> None:
|
||||
with self.ensure_repos(self.group_id, self.household_id) as repos:
|
||||
webhook_data = cast(EventWebhookData, event.document_data)
|
||||
webhook_data.webhook_body = None
|
||||
|
||||
match event.document_data.document_type:
|
||||
case EventDocumentType.mealplan:
|
||||
meal_repo = repos.meals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue