From c7506547abfe303cd11be827dc04afbb6a3c358e Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 02:54:03 +0300 Subject: [PATCH] dev@locazia: fix misprint --- app/api/routes/_blockchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/routes/_blockchain.py b/app/api/routes/_blockchain.py index 946d657..f7062ab 100644 --- a/app/api/routes/_blockchain.py +++ b/app/api/routes/_blockchain.py @@ -55,7 +55,7 @@ async def s_api_v1_blockchain_send_new_content_message(request): assert encrypted_content, "No content locally found" assert encrypted_content.type == "local/content_bin", "Invalid content type" - image_content_cid = resolve_content(request.json['image']) + image_content_cid, err = resolve_content(request.json['image']) assert not err, f"Invalid image CID" image_content = request.ctx.db_session.query(StoredContent).filter( StoredContent.hash == image_content_cid.content_hash_b58