diff --git a/src/devranta/api.py b/src/devranta/api.py index 0e1b876..4388bba 100644 --- a/src/devranta/api.py +++ b/src/devranta/api.py @@ -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):