Revert "Fix search client reply argument order"

This reverts commit 7a2cf829c7.
This commit is contained in:
Tim
2025-10-28 16:38:53 +08:00
parent 0cd5ded39b
commit c968efa42a

View File

@@ -111,9 +111,8 @@ class SearchClient:
async def reply_to_comment(
self,
comment_id: int,
content: str,
*,
token: str | None = None,
content: str,
captcha: str | None = None,
) -> dict[str, Any]:
"""Reply to an existing comment and return the created reply."""
@@ -145,9 +144,8 @@ class SearchClient:
async def reply_to_post(
self,
post_id: int,
content: str,
*,
token: str | None = None,
content: str,
captcha: str | None = None,
) -> dict[str, Any]:
"""Create a comment on a post and return the backend payload."""