Skip to content
Snippets Groups Projects
Commit d6e4207c authored by drebs's avatar drebs
Browse files

[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.
parent 896ec52b
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -76,7 +76,7 @@ class SoledadIncomingAPI: ...@@ -76,7 +76,7 @@ class SoledadIncomingAPI:
which fails with the correspondent exception if there was any which fails with the correspondent exception if there was any
error. error.
""" """
url = self._incoming_url + "user-%s/%s" % (uuid, doc_id) url = self._incoming_url + "%s/%s" % (uuid, doc_id)
try: try:
response = yield treq.put( response = yield treq.put(
url, url,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment