0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 14:18:55 +01:00

Fix json encoding bug in replication

json encoders have an encode method, not a dumps method.
This commit is contained in:
Richard van der Hoff 2018-04-03 15:09:48 +01:00
parent 05630758f2
commit 3ee4ad09eb

View file

@ -109,7 +109,7 @@ class RdataCommand(Command):
return " ".join((
self.stream_name,
str(self.token) if self.token is not None else "batch",
_json_encoder.dumps(self.row),
_json_encoder.encode(self.row),
))