mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-10 21:34:10 +02:00
Fix typo in Fed. API request auth python example
Fixes the typo in the Request Authentication python example. It seems like a copy paste error. Closes: #2509 Signed-off-by: Rudi Floren <rudi.floren@gmail.com>
This commit is contained in:
parent
32aecc506f
commit
b5868a59d6
|
|
@ -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