From 2d960a477f56c0134d9a180766996b0bb528d2ce Mon Sep 17 00:00:00 2001 From: Weves Date: Tue, 24 Dec 2024 12:02:09 -0800 Subject: [PATCH] Fix discourse connector --- backend/onyx/connectors/discourse/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/onyx/connectors/discourse/connector.py b/backend/onyx/connectors/discourse/connector.py index fe03e9f82f4..c25224a4c13 100644 --- a/backend/onyx/connectors/discourse/connector.py +++ b/backend/onyx/connectors/discourse/connector.py @@ -190,7 +190,7 @@ def _yield_discourse_documents( start: datetime, end: datetime, ) -> GenerateDocumentsOutput: - page = 1 + page = 0 while topic_ids := self._get_latest_topics(start, end, page): doc_batch: list[Document] = [] for topic_id in topic_ids: