Skip to content

Commit 9ae4c81

Browse files
committed
remove debug code
1 parent a317bc9 commit 9ae4c81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

synapseclient/models/wiki.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import Any, Dict, List, Optional, Union
88

99
from synapseclient import Synapse
10-
from synapseclient.api.wiki_service import (
10+
from synapseclient.api import (
1111
delete_wiki_page,
1212
get_attachment_handles,
1313
get_attachment_preview_url,
@@ -17,7 +17,7 @@
1717
get_wiki_history,
1818
get_wiki_order_hint,
1919
get_wiki_page,
20-
post_wiki,
20+
post_wiki_page,
2121
put_wiki_order_hint,
2222
put_wiki_page,
2323
put_wiki_version,
@@ -579,7 +579,7 @@ async def store_async(
579579
"No wiki page exists within the owner. Create a new wiki page."
580580
)
581581
# Create the wiki page
582-
wiki_data = await post_wiki(
582+
wiki_data = await post_wiki_page(
583583
owner_id=self.owner_id,
584584
request=self.to_synapse_request(),
585585
)
@@ -633,7 +633,7 @@ async def store_async(
633633
f"Creating sub-wiki page under parent ID: {self.parent_id}"
634634
)
635635
# Create the sub-wiki page directly
636-
wiki_data = await post_wiki(
636+
wiki_data = await post_wiki_page(
637637
owner_id=self.owner_id,
638638
request=self.to_synapse_request(),
639639
synapse_client=client,

0 commit comments

Comments
 (0)