We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694d799 commit 519813aCopy full SHA for 519813a
atlassian/confluence.py
@@ -632,8 +632,8 @@ def create_page(
632
}
633
if parent_id:
634
data["ancestors"] = [{"type": type, "id": parent_id}]
635
- if editor == "v2":
636
- data["metadata"] = {"properties": {"editor": {"value": "v2"}}}
+ if editor is not None and editor in ["v1", "v2"]:
+ data["metadata"] = {"properties": {"editor": {"value": editor}}}
637
try:
638
response = self.post(url, data=data)
639
except HTTPError as e:
0 commit comments