diff --git a/app/core/background/indexer_service.py b/app/core/background/indexer_service.py index f7ab259..5be17ce 100644 --- a/app/core/background/indexer_service.py +++ b/app/core/background/indexer_service.py @@ -101,8 +101,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]: ).first() encrypted_stored_content = session.query(StoredContent).filter( - StoredContent.hash == item_content_hash_str, - StoredContent.onchain_index == None + StoredContent.hash == item_content_hash_str ).first() if encrypted_stored_content: encrypted_stored_content_meta = encrypted_stored_content.meta @@ -163,7 +162,3 @@ async def main_fn(): # loop = asyncio.get_event_loop() # loop.run_until_complete(main()) # loop.close() - - - -