Skip to content

Commit

Permalink
Fix all pages query
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 6, 2024
1 parent 2a66ab8 commit b02ee74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/btrixcloud/pages.py
Expand Up @@ -371,7 +371,7 @@ async def re_add_crawl_pages(self, crawl_id: str, oid: UUID):

async def re_add_all_crawl_pages(self, oid: UUID):
"""Re-add pages for all crawls in org"""
crawl_ids = await crawls_mdb.distinct(
crawl_ids = await crawls.distinct(
"_id", {"type": "crawl", "finished": {"$ne": None}}
)
for crawl_id in crawl_ids:
Expand Down

0 comments on commit b02ee74

Please sign in to comment.