diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-11 16:41:16 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-11 16:41:16 +0000 |
commit | f51832442674a1f72c41ffce2279880109fc7ff0 (patch) | |
tree | b1acca703145d6c23da8092f1a153e149fb4abe5 /synapse/appservice | |
parent | Fix newline on __init__ (diff) | |
download | synapse-f51832442674a1f72c41ffce2279880109fc7ff0.tar.xz |
Minor tweaks based on PR feedback.
Diffstat (limited to 'synapse/appservice')
-rw-r--r-- | synapse/appservice/api.py | 6 |
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 |