This commit is contained in:
parent
d61a7c4fbd
commit
c55084e582
@ -161,12 +161,11 @@ class Api:
|
||||
if not await self.ensure_login():
|
||||
return None
|
||||
async with self as session:
|
||||
response = await session.get(
|
||||
response = await session.post(
|
||||
url=self.patch_url(f"comments/{comment_id}"),
|
||||
data=self.patch_auth({"comment": comment}),
|
||||
)
|
||||
obj = await response.json()
|
||||
print(obj)
|
||||
return obj.get("success", False)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user