Parcourir la source

Merge pull request #1922 from pbiering/fix-1920

Fix 1920
Peter Bieringer il y a 3 mois
Parent
commit
a1f32ab0c5
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      CHANGELOG.md
  2. 1 1
      radicale/app/delete.py

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@
 ## 3.5.9.dev
 * Extend: [auth] add support for type http_remote_user
 * Extend: logging of invalid sync-token with user, path, remote host and useragent
+* Fix: typo related to collection delete hook
 
 ## 3.5.8
 * Extend: [auth] re-factor & overhaul LDAP authentication, especially for Python's ldap module

+ 1 - 1
radicale/app/delete.py

@@ -87,7 +87,7 @@ class ApplicationPartDelete(ApplicationBase):
                             path=access.path,
                             content=i.uid,
                             uid=i.uid,
-                            old_content=item.serialize(),  # type: ignore
+                            old_content=i.serialize(),  # type: ignore
                             new_content=None
                         )
                     )