misc: changed headers
This commit is contained in:
parent
4ba8e656ab
commit
6dc8c8abf0
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue