summary refs log tree commit diff
path: root/synapse/rest/appservice
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-28 11:59:38 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-28 11:59:38 +0000
commit42876969b99b6bad146b44a734e8d4a1a14d6835 (patch)
tree684c4a5fb105265b8064ab60fdd94d009675e3ce /synapse/rest/appservice
parentRemove unused import (diff)
downloadsynapse-42876969b99b6bad146b44a734e8d4a1a14d6835.tar.xz
Add basic application_services SQL, and hook up parts of the appservice store to read from it.
Diffstat (limited to 'synapse/rest/appservice')
-rw-r--r--synapse/rest/appservice/v1/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/appservice/v1/register.py b/synapse/rest/appservice/v1/register.py
index 5786cf873e..e374d538e7 100644
--- a/synapse/rest/appservice/v1/register.py
+++ b/synapse/rest/appservice/v1/register.py
@@ -64,9 +64,9 @@ class RegisterRestServlet(AppServiceRestServlet):
         yield self.handler.register(app_service)
         hs_token = "_not_implemented_yet"  # TODO: Pull this from self.hs?
 
-        defer.returnValue({
+        defer.returnValue((200, {
           "hs_token": hs_token
-        })
+        }))
 
     def _parse_namespace(self, target_ns, origin_ns, ns):
         if ns not in target_ns or ns not in origin_ns: