From 91d8220a3056af30119c16e05081a65f5022011e Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 10:48:50 +0300 Subject: [PATCH] dev@locazia: fix indexer --- app/core/background/indexer_service.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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() - - - -