dump carddav

This commit is contained in:
2026-08-05 06:10:36 +02:00
parent cf3563124f
commit 447528b5ff
3 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ logger = logging.getLogger("sync")
def sync_account(conn, account, href_to_uid_cache: dict):
client = CardDAVClient(ICLOUD_BASE_URL, account.apple_email, account.apple_app_password)
client = CardDAVClient(ICLOUD_BASE_URL, account.apple_email, account.apple_app_password, account_name=account.name)
collection_url = client.discover_collection()
stored_token = db.get_sync_token(conn, account.name)