dev@locazia: fix misprint
This commit is contained in:
parent
88583ddc4e
commit
c7506547ab
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue