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

Improved notification message with user/calendar point as field

This commit is contained in:
Tuna Celik 2020-08-17 14:43:52 +02:00
parent da31f80ba5
commit bf5272e83d
3 changed files with 16 additions and 2 deletions

View file

@ -197,6 +197,7 @@ class ApplicationPutMixin:
for item in prepared_items:
hook_notification_item = HookNotificationItem(
HookNotificationItemTypes.UPSERT,
access.path,
item.serialize()
)
self._hook.notify(hook_notification_item)
@ -217,6 +218,7 @@ class ApplicationPutMixin:
etag = parent_item.upload(href, prepared_item).etag
hook_notification_item = HookNotificationItem(
HookNotificationItemTypes.UPSERT,
access.path,
prepared_item.serialize()
)
self._hook.notify(hook_notification_item)