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

This commit is contained in:
2024-11-27 20:36:17 +01:00
parent d3180b43c2
commit ad886372f6
+1 -2
View File
@@ -69,10 +69,9 @@ class Api:
"token_id": self.auth["token_id"],
"token_key": self.auth["token_key"],
"vote": str(vote),
# "plat": 3,
},
)
return response.json()
return json.loads(response.text)
def get_rant(self, rant_id):
url = self.base_url + "devrant/rants/" + str(rant_id)