mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-26 21:13:47 +00:00
Make post_json(...) actually send data.
This commit is contained in:
1 parent
c183cec8f6
commit
5a3a15f5c1
1 file changed
+1
-1
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user