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:
parent
5922cc04e3
commit
070ba2d603
3 changed files with 22 additions and 19 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue