dev@locazia: fix misprint

This commit is contained in:
user 2024-03-08 02:54:03 +03:00
parent 88583ddc4e
commit c7506547ab
1 changed files with 1 additions and 1 deletions

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, "No content locally found"
assert encrypted_content.type == "local/content_bin", "Invalid content type" 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" assert not err, f"Invalid image CID"
image_content = request.ctx.db_session.query(StoredContent).filter( image_content = request.ctx.db_session.query(StoredContent).filter(
StoredContent.hash == image_content_cid.content_hash_b58 StoredContent.hash == image_content_cid.content_hash_b58