mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-07-20 03:26:18 +00:00
Fix search client reply argument order
This commit is contained in:
@@ -111,8 +111,9 @@ class SearchClient:
|
|||||||
async def reply_to_comment(
|
async def reply_to_comment(
|
||||||
self,
|
self,
|
||||||
comment_id: int,
|
comment_id: int,
|
||||||
token: str | None = None,
|
|
||||||
content: str,
|
content: str,
|
||||||
|
*,
|
||||||
|
token: str | None = None,
|
||||||
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."""
|
||||||
@@ -144,8 +145,9 @@ class SearchClient:
|
|||||||
async def reply_to_post(
|
async def reply_to_post(
|
||||||
self,
|
self,
|
||||||
post_id: int,
|
post_id: int,
|
||||||
token: str | None = None,
|
|
||||||
content: str,
|
content: str,
|
||||||
|
*,
|
||||||
|
token: str | None = None,
|
||||||
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