dev@locazia: set required filename for new unknown content

This commit is contained in:
user 2024-03-08 10:39:46 +03:00
parent 6e169cff38
commit 6d66546332
1 changed files with 1 additions and 3 deletions

View File

@ -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,