diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-10 14:30:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 14:30:08 -0400 |
commit | 66a4af8d9627719a875c405c8c0f49b0056811b2 (patch) | |
tree | 8b489d82abe00793da78d40715dbb91731224044 /synapse/handlers | |
parent | Add types to the server code and remove unused parameter (#7813) (diff) | |
download | synapse-66a4af8d9627719a875c405c8c0f49b0056811b2.tar.xz |
Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802)
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/cas_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/cas_handler.py b/synapse/handlers/cas_handler.py index d79ffefdb5..786e608fa2 100644 --- a/synapse/handlers/cas_handler.py +++ b/synapse/handlers/cas_handler.py @@ -104,7 +104,7 @@ class CasHandler: return user, displayname def _parse_cas_response( - self, cas_response_body: str + self, cas_response_body: bytes ) -> Tuple[str, Dict[str, Optional[str]]]: """ Retrieve the user and other parameters from the CAS response. |