From 6d665463328e0a03990639a7f4b8a361b858d5ba Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 10:39:46 +0300 Subject: [PATCH] dev@locazia: set required filename for new unknown content --- app/core/background/indexer_service.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/core/background/indexer_service.py b/app/core/background/indexer_service.py index 5987f79..f7ab259 100644 --- a/app/core/background/indexer_service.py +++ b/app/core/background/indexer_service.py @@ -119,9 +119,6 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]: encrypted_stored_content.updated = datetime.now() session.commit() - - - return platform_found, seqno onchain_stored_content = StoredContent( @@ -130,6 +127,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]: onchain_index=item_index, owner_address=item_owner_address.to_string(1, 1, 1) if item_owner_address else None, meta=item_metadata_packed, + filename="UNKNOWN_ENCRYPTED_CONTENT", user_id=user_wallet_connection.user_id if user_wallet_connection else None, created=datetime.now(), encrypted=True,