fix: convert user_id field type from string to integer in User model
This commit is contained in:
parent
408bc2d0ed
commit
18904dbb6a
@ -68,8 +68,8 @@ class Api:
|
|||||||
"user_id": self.auth["user_id"],
|
"user_id": self.auth["user_id"],
|
||||||
"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": vote,
|
||||||
"plat": 3,
|
"plat": 3
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
return json.loads(response.text)
|
return json.loads(response.text)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user