From d6e4207c445c80ce6029eb1cf8ba25928c9f109f Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 30 Sep 2017 00:57:48 -0300 Subject: [bug] fix delivery using Soledad Server incoming API 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. --- src/leap/mx/soledadhelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3