diff --git a/app/core/background/convert_service.py b/app/core/background/convert_service.py index c6a8636..0d243ad 100644 --- a/app/core/background/convert_service.py +++ b/app/core/background/convert_service.py @@ -67,10 +67,10 @@ async def convert_loop(memory): if content_kind == "other": make_log("ConvertProcess", f"Content {unprocessed_encrypted_content.id} processed. Not audio/video, copy just", level="info") unprocessed_encrypted_content.btfs_cid = ContentId( - version=2, content_hash=b58decode(converted_content['high' if content_kind=='video' else 'low']) + version=2, content_hash=b58decode(decrypted_content.hash) ).serialize_v2() unprocessed_encrypted_content.ipfs_cid = ContentId( - version=2, content_hash=b58decode(converted_content['low']) + version=2, content_hash=b58decode(decrypted_content.hash) ).serialize_v2() unprocessed_encrypted_content.meta = { **unprocessed_encrypted_content.meta,