mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-18 17:34:09 +01:00
Merge remote-tracking branch 'valkum/patch-1'
This commit is contained in:
commit
b8f68cb874
1
changelogs/server_server/newsfragments/2510
Normal file
1
changelogs/server_server/newsfragments/2510
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Fix typo in Request Authentication python example
|
||||||
|
|
@ -316,8 +316,8 @@ Example python code:
|
||||||
"destination": destination_name,
|
"destination": destination_name,
|
||||||
}
|
}
|
||||||
|
|
||||||
if content_json is not None:
|
if content is not None:
|
||||||
request["content"] = content
|
request_json["content"] = content
|
||||||
|
|
||||||
signed_json = sign_json(request_json, origin_name, origin_signing_key)
|
signed_json = sign_json(request_json, origin_name, origin_signing_key)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue