mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Remove float conversion for dbl referrer
This commit is contained in:
parent
99afd2aeb7
commit
78af0891b1
@ -500,9 +500,9 @@ def webhook_discordbotsorg_vote():
|
||||
referrer = None
|
||||
if "referrer" in params:
|
||||
try:
|
||||
referrer = int(float(params["referrer"]))
|
||||
referrer = int(params["referrer"])
|
||||
except:
|
||||
pass
|
||||
DBLTrans = DiscordBotsOrgTransactions(int(user_id), vote_type, referrer)
|
||||
db.session.add(DBLTrans)
|
||||
return ('', 204)
|
||||
return ('', 204)
|
||||
|
Loading…
Reference in New Issue
Block a user