diff --git a/webapp/titanembeds/blueprints/api/api.py b/webapp/titanembeds/blueprints/api/api.py index 01c6512..8cb5be4 100644 --- a/webapp/titanembeds/blueprints/api/api.py +++ b/webapp/titanembeds/blueprints/api/api.py @@ -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) \ No newline at end of file + return ('', 204)