Response fix.
All checks were successful
devranta build / Build (push) Successful in 1m15s

This commit is contained in:
retoor 2024-12-03 19:15:48 +01:00
parent 42399f4566
commit 0e56e03409

View File

@ -165,7 +165,8 @@ class Api:
url=self.patch_url(f"comments/{comment_id}"),
data=self.patch_auth({"comment": comment}),
)
return await response.get("success", False)
obj = await response.json()
return obj.get("success", False)
@property
async def notifs(self):