dev@locazia: fix misprint

This commit is contained in:
user committed 2024-03-08 02:54:03 +03:00
1 parent 88583ddc4e
commit c7506547ab
1 file changed
+1 -1
+1 -1
View File
@@ -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