Vote -1 string.
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 55s

This commit is contained in:
retoor 2024-11-27 20:35:59 +01:00
parent d3180b43c2
commit ad886372f6

View File

@ -69,10 +69,9 @@ class Api:
"token_id": self.auth["token_id"], "token_id": self.auth["token_id"],
"token_key": self.auth["token_key"], "token_key": self.auth["token_key"],
"vote": str(vote), "vote": str(vote),
# "plat": 3,
}, },
) )
return response.json() return json.loads(response.text)
def get_rant(self, rant_id): def get_rant(self, rant_id):
url = self.base_url + "devrant/rants/" + str(rant_id) url = self.base_url + "devrant/rants/" + str(rant_id)