- Fix bad constructor

This commit is contained in:
Nate Harris
2025-06-24 23:23:07 -06:00
parent e744a4f0a3
commit 418c95caad

View File

@@ -83,7 +83,6 @@ class ApplicationPartDelete(ApplicationBase):
for i in item.get_all(): for i in item.get_all():
hook_notification_item_list.append( hook_notification_item_list.append(
DeleteHookNotificationItem( DeleteHookNotificationItem(
HookNotificationItemTypes.DELETE,
access.path, access.path,
i.uid, i.uid,
old_content=item.serialize() # type: ignore old_content=item.serialize() # type: ignore
@@ -95,7 +94,6 @@ class ApplicationPartDelete(ApplicationBase):
assert item.href is not None assert item.href is not None
hook_notification_item_list.append( hook_notification_item_list.append(
DeleteHookNotificationItem( DeleteHookNotificationItem(
HookNotificationItemTypes.DELETE,
access.path, access.path,
item.uid, item.uid,
old_content=item.serialize() # type: ignore old_content=item.serialize() # type: ignore