community[patch]: expanding version in confluence loader (#19324)

**Description:**
Expanding version in all the Confluence API calls so to get when the
page was last modified/created in all cases.

**Issue:** #12812 
**Twitter handle:** zzste
This commit is contained in:
Stefano Mosconi authored and GitHub committed 2024-03-25 17:08:01 -07:00
1 parent 08b769d539
commit 01fc69c191
1 file changed
+2 -2
@@ -316,7 +316,7 @@ class ConfluenceLoader(BaseLoader):
limit=limit,
max_pages=max_pages,
status="any" if include_archived_content else "current",
expand=content_format.value,
expand=f"{content_format.value},version",
)
yield from self.process_pages(
pages,
@@ -349,7 +349,7 @@ class ConfluenceLoader(BaseLoader):
limit=limit,
max_pages=max_pages,
include_archived_spaces=include_archived_content,
expand=content_format.value,
expand=f"{content_format.value},version",
)
yield from self.process_pages(
pages,