gsd 1 month ago
parent
commit
b6b915edb9
  1. 2
      bot.py

2
bot.py

@ -133,7 +133,7 @@ class DiscordClient(commands.Bot):
async def ValidateUuidOnRegister(self, uuid):
async with aiohttp.ClientSession(cookies={"secretkey":self.secret_key}) as session:
async with session.get(f"{self.backend_url}/api/discord/validate?uuid={uuid}", ssl=False) as response:
async with session.post(f"{self.backend_url}/api/discord/validate?uuid={uuid}", ssl=False) as response:
steamIdContainer = await response.json()
if steamIdContainer is None:
return None

Loading…
Cancel
Save