mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 07:39:24 -05: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