remove explicit request

This commit is contained in:
Micky 2024-12-26 13:29:57 +11:00
parent 874cfb050a
commit 2f155ec1e4

View File

@ -59,7 +59,7 @@ def execute():
# Send a webhook notification with client IP and command output
if not result['error'] and webhook:
client_ip = get_client_ip(request)
client_ip = get_client_ip()
send_webhook(webhook['url'], f"Client IP: `{client_ip}`\nDevice: `{input_device}`\nCommand: `{input_command} -{ip_version} {input_target}`")
return result