aa
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
const action = event.target.dataset.action;
|
const action = event.target.dataset.action;
|
||||||
const id = form.querySelector('input[name="id"]').value;
|
const id = form.querySelector('input[name="id"]').value;
|
||||||
|
|
||||||
fetch(`${window.location}/handle-article-action-pao/${id}/${action}`)
|
fetch(`${window.location}/apimacro/public/handle-article-action-pao/${id}/${action}`)
|
||||||
.then(response => response.text())
|
.then(response => response.text())
|
||||||
.then(data => result.innerHTML = data);
|
.then(data => result.innerHTML = data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user