dev@locazia: set required filename for new unknown content
This commit is contained in:
parent
6e169cff38
commit
6d66546332
|
|
@ -119,9 +119,6 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
||||||
encrypted_stored_content.updated = datetime.now()
|
encrypted_stored_content.updated = datetime.now()
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return platform_found, seqno
|
return platform_found, seqno
|
||||||
|
|
||||||
onchain_stored_content = StoredContent(
|
onchain_stored_content = StoredContent(
|
||||||
|
|
@ -130,6 +127,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
||||||
onchain_index=item_index,
|
onchain_index=item_index,
|
||||||
owner_address=item_owner_address.to_string(1, 1, 1) if item_owner_address else None,
|
owner_address=item_owner_address.to_string(1, 1, 1) if item_owner_address else None,
|
||||||
meta=item_metadata_packed,
|
meta=item_metadata_packed,
|
||||||
|
filename="UNKNOWN_ENCRYPTED_CONTENT",
|
||||||
user_id=user_wallet_connection.user_id if user_wallet_connection else None,
|
user_id=user_wallet_connection.user_id if user_wallet_connection else None,
|
||||||
created=datetime.now(),
|
created=datetime.now(),
|
||||||
encrypted=True,
|
encrypted=True,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue