summary refs log tree commit diff
path: root/synapse/rest/client/keys.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-07-21 08:01:52 -0400
committerGitHub <noreply@github.com>2022-07-21 12:01:52 +0000
commit50122754c8743df5c904e81b634fdfdeea64e795 (patch)
tree3c6b3e46aec5a66a05eaffb688154eb87b198fcb /synapse/rest/client/keys.py
parentUse cache store remove base slaved (#13329) (diff)
downloadsynapse-50122754c8743df5c904e81b634fdfdeea64e795.tar.xz
Add missing types to opentracing. (#13345)
After this change `synapse.logging` is fully typed.
Diffstat (limited to 'synapse/rest/client/keys.py')
-rw-r--r--synapse/rest/client/keys.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/keys.py b/synapse/rest/client/keys.py
index eb1b85721f..e3f454896a 100644
--- a/synapse/rest/client/keys.py
+++ b/synapse/rest/client/keys.py
@@ -208,7 +208,9 @@ class KeyChangesServlet(RestServlet):
 
         # We want to enforce they do pass us one, but we ignore it and return
         # changes after the "to" as well as before.
-        set_tag("to", parse_string(request, "to"))
+        #
+        # XXX This does not enforce that "to" is passed.
+        set_tag("to", str(parse_string(request, "to")))
 
         from_token = await StreamToken.from_string(self.store, from_token_string)