This commit is contained in:
paoloar77
2024-05-20 23:35:38 +02:00
parent 9af652d62c
commit 764f906d2b

View File

@@ -26,7 +26,7 @@
let id = formData.get('id');
let action = formData.get('action');
fetch('{{ url('handle-article-action-pao') }}/id=' + id + '&action=' + action)
fetch('{{ url('handle-article-action-pao') }}/' + id + '/' + action)
.then(response => response.text())
.then(data => {
document.getElementById('result').innerHTML = data;