From b5868a59d64e30829ee28ae19f773a565399846f Mon Sep 17 00:00:00 2001 From: Rudi Floren Date: Wed, 22 Apr 2020 22:18:28 +0200 Subject: [PATCH] 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 --- specification/server_server_api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/server_server_api.rst b/specification/server_server_api.rst index f0a9a563..655a8cfc 100644 --- a/specification/server_server_api.rst +++ b/specification/server_server_api.rst @@ -316,8 +316,8 @@ Example python code: "destination": destination_name, } - if content_json is not None: - request["content"] = content + if content is not None: + request_json["content"] = content signed_json = sign_json(request_json, origin_name, origin_signing_key)