From b9a906aadbf9561cff76d406d89b644ee1f0e67a Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 22 Jun 2017 02:29:52 -0300 Subject: [style] fix naming from review --- server/src/leap/soledad/server/_incoming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/src/leap/soledad/server/_incoming.py b/server/src/leap/soledad/server/_incoming.py index 009c0578..1f74a6e4 100644 --- a/server/src/leap/soledad/server/_incoming.py +++ b/server/src/leap/soledad/server/_incoming.py @@ -18,9 +18,9 @@ A twisted resource that saves externally delivered documents into user's db. """ from twisted.web.resource import Resource -from leap.soledad.common.document import ServerDocument from ._config import get_config from leap.soledad.common.couch.state import CouchServerState +from leap.soledad.common.document import ServerDocument from leap.soledad.common.crypto import ENC_JSON_KEY from leap.soledad.common.crypto import ENC_SCHEME_KEY from leap.soledad.common.crypto import EncryptionSchemes @@ -49,7 +49,7 @@ class IncomingResource(Resource): doc = ServerDocument(doc_id) doc.content = self.formatter.format(request.content.read(), scheme) db.put_doc(doc) - return '' + return '{"success": true}' class IncomingFormatter(object): -- cgit v1.2.3