Fix change ip payload

This commit is contained in:
IamSarina
2025-02-11 22:55:52 +03:30
committed by GitHub
parent 0fc30874d4
commit ff757bb71b

View File

@ -392,7 +392,10 @@
sendRequest(
"{{ url_for('edit_ip_api') }}",
"POST",
{ ipv4: $("#ipv4").val(), ipv6: $("#ipv6").val() },
{
ipv4: $("#ipv4").val() || null,
ipv6: $("#ipv6").val() || null
},
"New IP saved successfully!"
);
});
@ -415,4 +418,4 @@
{% endblock %}
{% endblock %}