This commit is contained in:
paoloar77
2024-05-20 23:31:16 +02:00
parent 3e6c059356
commit 7faad73d8d
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
let formData = new FormData(this); let formData = new FormData(this);
fetch('{{ route('handleArticleActionPao') }}', { fetch('{{ route('handleArticleActionPao') }}', {
method: 'POST', method: 'GET',
body: formData body: formData
}) })
.then(response => response.text()) .then(response => response.text())

View File

@@ -6218,8 +6218,8 @@ Route::get('/mylinkspao', function () {
}); });
Route::get('/handle-article-action', function (Request $request) { Route::get('/handle-article-action', function (Request $request) {
echo "Handle:";
$id = $request->id; $id = $request->id;
$action = $request->action; $action = $request->action;