summaryrefslogtreecommitdiff
path: root/src/leap/soledad/shared_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/shared_db.py')
-rw-r--r--src/leap/soledad/shared_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/shared_db.py b/src/leap/soledad/shared_db.py
index c27bba71..27018701 100644
--- a/src/leap/soledad/shared_db.py
+++ b/src/leap/soledad/shared_db.py
@@ -99,6 +99,6 @@ class SoledadSharedDatabase(http_database.HTTPDatabase):
"""
Modified method to allow for unauth request.
"""
- db = http_database.HTTPDatabase(self._url, factory=self._factory,
- creds=self._creds)
+ db = http_database.HTTPDatabase(self._url.geturl(),
+ document_factory=self._factory)
return db.get_doc(doc_id)