mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-11 13:17:29 +08:00
Revert "Fix search client reply argument order"
This reverts commit 7a2cf829c7.
This commit is contained in:
@@ -111,9 +111,8 @@ class SearchClient:
|
|||||||
async def reply_to_comment(
|
async def reply_to_comment(
|
||||||
self,
|
self,
|
||||||
comment_id: int,
|
comment_id: int,
|
||||||
content: str,
|
|
||||||
*,
|
|
||||||
token: str | None = None,
|
token: str | None = None,
|
||||||
|
content: str,
|
||||||
captcha: str | None = None,
|
captcha: str | None = None,
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
"""Reply to an existing comment and return the created reply."""
|
"""Reply to an existing comment and return the created reply."""
|
||||||
@@ -145,9 +144,8 @@ class SearchClient:
|
|||||||
async def reply_to_post(
|
async def reply_to_post(
|
||||||
self,
|
self,
|
||||||
post_id: int,
|
post_id: int,
|
||||||
content: str,
|
|
||||||
*,
|
|
||||||
token: str | None = None,
|
token: str | None = None,
|
||||||
|
content: str,
|
||||||
captcha: str | None = None,
|
captcha: str | None = None,
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
"""Create a comment on a post and return the backend payload."""
|
"""Create a comment on a post and return the backend payload."""
|
||||||
|
|||||||
Reference in New Issue
Block a user