misc: changed headers

This commit is contained in:
Seaswimmer 2023-07-15 23:14:44 -04:00
parent 4ba8e656ab
commit 6dc8c8abf0
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -59,7 +59,7 @@ class Pterodactyl(commands.Cog):
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
"Accept": "Application/vnd.pterodactyl.v1+json"
"Accept": "application/json"
}
response = requests.get(await self.get_url(interaction.guild, "resources"), headers=headers)
response_dict = response.json()