mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	hotfix undefined variable for query
This commit is contained in:
		@@ -477,7 +477,7 @@ def webhook_discordbotsorg_vote():
 | 
			
		||||
        abort(403)
 | 
			
		||||
    user_id = incoming.get("user")
 | 
			
		||||
    vote_type = incoming.get("type")
 | 
			
		||||
    params = dict(parse_qsl(urlsplit(url).query))
 | 
			
		||||
    params = dict(parse_qsl(urlsplit(incoming.get("query", "")).query))
 | 
			
		||||
    if vote_type == "upvote":
 | 
			
		||||
        redis_store.set("DiscordBotsOrgVoted/" + user_id, "voted", 86400)
 | 
			
		||||
    else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user