removed a debug line
Signed-off-by: SpagettiFisch <johmewu@gmail.com>
This commit is contained in:
parent
52537118cf
commit
3641acf94a
1 changed files with 1 additions and 2 deletions
|
|
@ -93,5 +93,4 @@ async def syncWhitelistPterodactyl(whitelist):
|
|||
|
||||
async def pterodactylWriteFile(serverid, path, data, apikey):
|
||||
url = f'{init.config().get_pterodactyl_domain()}api/client/servers/{serverid}/files/write?file={urllib.parse.quote(path)}'
|
||||
requests.post(url, data=data, headers={"Accept": "application/json", "Authorization": f"Bearer {apikey}"})
|
||||
print('Whitelist abgeschickt')
|
||||
requests.post(url, data=data, headers={"Accept": "application/json", "Authorization": f"Bearer {apikey}"})
|
||||
Loading…
Add table
Reference in a new issue