summary refs log tree commit diff
path: root/synapse/appservice
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/appservice')
-rw-r--r--synapse/appservice/api.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index 6192813c03..c2179f8d55 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -80,11 +80,11 @@ class ApplicationServiceApi(SimpleHttpClient):
         response = None
         try:
             response = yield self.put_json(
-                uri,
-                {
+                uri=uri,
+                json_body={
                     "events": events
                 },
-                {
+                args={
                     "access_token": service.hs_token
                 })
             if response:  # just an empty json object