diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-09-24 15:47:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 15:47:20 +0100 |
commit | 11c9e17738277958f66d18015bf0e68f2c03bb8b (patch) | |
tree | 8491f3bba6c903a87fffd7b0dcd00c00f6997e16 /synapse/appservice | |
parent | Add new sequences to port DB script (#8387) (diff) | |
download | synapse-11c9e17738277958f66d18015bf0e68f2c03bb8b.tar.xz |
Add type annotations to SimpleHttpClient (#8372)
Diffstat (limited to 'synapse/appservice')
-rw-r--r-- | synapse/appservice/api.py | 2 |
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( |