From bba56f4b9d0ec4b9fec3b76a11f85322fdafed8a Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 03:06:36 +0300 Subject: [PATCH] dev@locazia: fix service auth --- app/core/content/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/content/utils.py b/app/core/content/utils.py index 35171aa..8f3fed3 100644 --- a/app/core/content/utils.py +++ b/app/core/content/utils.py @@ -51,7 +51,7 @@ async def create_metadata_for_item( f"{PROJECT_HOST}/api/v1/storage", files={"file": ('metadata.json', metadata_bin, 'application/json')}, headers={ - 'X-Service-Signature': signer.sign(metadata_bin), + 'X-Service-Signature': signer.sign(metadata_hash), 'X-Message-Hash': metadata_hash_b58, } )