mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Make post_json(...) actually send data.
This commit is contained in:
parent
c183cec8f6
commit
5a3a15f5c1
@ -265,7 +265,7 @@ class MatrixFederationHttpClient(object):
|
||||
self.sign_request(
|
||||
destination, method, url_bytes, headers_dict, data
|
||||
)
|
||||
return None
|
||||
return _JsonProducer(data)
|
||||
|
||||
response = yield self._create_request(
|
||||
destination.encode("ascii"),
|
||||
|
Loading…
Reference in New Issue
Block a user