1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-04 18:22:26 +00:00

- Include legacy "content" parameter in HookNotificationItem usage

This commit is contained in:
Nate Harris 2025-07-19 23:29:18 -06:00
parent 5922cc04e3
commit 070ba2d603
3 changed files with 22 additions and 19 deletions

View file

@ -85,6 +85,7 @@ class ApplicationPartDelete(ApplicationBase):
HookNotificationItem(
notification_item_type=HookNotificationItemTypes.DELETE,
path=access.path,
content=i.uid,
uid=i.uid,
old_content=item.serialize(), # type: ignore
new_content=None
@ -98,6 +99,7 @@ class ApplicationPartDelete(ApplicationBase):
HookNotificationItem(
notification_item_type=HookNotificationItemTypes.DELETE,
path=access.path,
content=item.uid,
uid=item.uid,
old_content=item.serialize(), # type: ignore
new_content=None,