diff --git a/app/views/main.py b/app/views/main.py index ddbe226..e0c585c 100644 --- a/app/views/main.py +++ b/app/views/main.py @@ -58,6 +58,6 @@ def execute(): # Send a webhook notification with client IP and command output if not result['error'] and webhook: - send_webhook(webhook['url'], f"Client IP: `{request.remote_addr}`\nDevice: `{input_device}`\nCommand: `{input_command} {input_target}`") + send_webhook(webhook['url'], f"Client IP: `{request.remote_addr}`\nDevice: `{input_device}`\nCommand: `{input_command} -{ip_version} {input_target}`") return result