fix: convert user_id field type from string to integer in User model

This commit is contained in:
retoor 2024-11-28 03:07:20 +00:00
parent 408bc2d0ed
commit 18904dbb6a

View File

@ -68,8 +68,8 @@ class Api:
"user_id": self.auth["user_id"],
"token_id": self.auth["token_id"],
"token_key": self.auth["token_key"],
"vote": str(vote),
"plat": 3,
"vote": vote,
"plat": 3
},
)
return json.loads(response.text)