summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-30 00:57:48 -0300
committerdrebs <drebs@riseup.net>2017-09-30 00:57:48 -0300
commitd6e4207c445c80ce6029eb1cf8ba25928c9f109f (patch)
treee13cf4bead894746072b454c57f10843f0c261d5 /src
parent896ec52bb1a1f9489cf531bd245c0f6b4c2e2773 (diff)
[bug] fix delivery using Soledad Server incoming APIHEADmaster
MX was mistakenly adding a prefix of "user-" to the uuid when delivering using the new Soledad Server incoming APi. That was probably introduced by mistake because the CouchDB user databases are all prefixed with that prefix.
Diffstat (limited to 'src')
-rw-r--r--src/leap/mx/soledadhelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mx/soledadhelper.py b/src/leap/mx/soledadhelper.py
index 386179e..4b0fae7 100644
--- a/src/leap/mx/soledadhelper.py
+++ b/src/leap/mx/soledadhelper.py
@@ -76,7 +76,7 @@ class SoledadIncomingAPI:
which fails with the correspondent exception if there was any
error.
"""
- url = self._incoming_url + "user-%s/%s" % (uuid, doc_id)
+ url = self._incoming_url + "%s/%s" % (uuid, doc_id)
try:
response = yield treq.put(
url,