mirror of
https://github.com/element-hq/synapse
synced 2024-09-06 01:50:08 +00:00
Make post_json(...) actually send data.
This commit is contained in:
parent
c183cec8f6
commit
5a3a15f5c1
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class MatrixFederationHttpClient(object):
|
||||||
self.sign_request(
|
self.sign_request(
|
||||||
destination, method, url_bytes, headers_dict, data
|
destination, method, url_bytes, headers_dict, data
|
||||||
)
|
)
|
||||||
return None
|
return _JsonProducer(data)
|
||||||
|
|
||||||
response = yield self._create_request(
|
response = yield self._create_request(
|
||||||
destination.encode("ascii"),
|
destination.encode("ascii"),
|
||||||
|
|
Loading…
Reference in a new issue