summary refs log tree commit diff
path: root/synapse/appservice
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-09-24 15:47:20 +0100
committerGitHub <noreply@github.com>2020-09-24 15:47:20 +0100
commit11c9e17738277958f66d18015bf0e68f2c03bb8b (patch)
tree8491f3bba6c903a87fffd7b0dcd00c00f6997e16 /synapse/appservice
parentAdd new sequences to port DB script (#8387) (diff)
downloadsynapse-11c9e17738277958f66d18015bf0e68f2c03bb8b.tar.xz
Add type annotations to SimpleHttpClient (#8372)
Diffstat (limited to 'synapse/appservice')
-rw-r--r--synapse/appservice/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index 1514c0f691..c526c28b93 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -178,7 +178,7 @@ class ApplicationServiceApi(SimpleHttpClient):
                 urllib.parse.quote(protocol),
             )
             try:
-                info = await self.get_json(uri, {})
+                info = await self.get_json(uri)
 
                 if not _is_valid_3pe_metadata(info):
                     logger.warning(