1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-31 19:50:55 +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 dd5bbfb9e3
commit 16b7311229
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,