This commit is contained in:
parent
42399f4566
commit
0e56e03409
@ -165,7 +165,8 @@ class Api:
|
|||||||
url=self.patch_url(f"comments/{comment_id}"),
|
url=self.patch_url(f"comments/{comment_id}"),
|
||||||
data=self.patch_auth({"comment": comment}),
|
data=self.patch_auth({"comment": comment}),
|
||||||
)
|
)
|
||||||
return await response.get("success", False)
|
obj = await response.json()
|
||||||
|
return obj.get("success", False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
async def notifs(self):
|
async def notifs(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user