diff --git a/front/js/common.js b/front/js/common.js index 3d087a9e..8ff405fd 100755 --- a/front/js/common.js +++ b/front/js/common.js @@ -1598,7 +1598,7 @@ function restartBackend() { "Authorization": "Bearer " + apiToken, "Content-Type": "application/json" }, - data: JSON.stringify({ action: `${getGuid()}|cron_restart_backend` }), + data: JSON.stringify({ action: `cron_restart_backend` }), success: function(data, textStatus) { // showModalOk ('Result', data ); diff --git a/front/js/ui_components.js b/front/js/ui_components.js index e2ae04b6..649531c6 100755 --- a/front/js/ui_components.js +++ b/front/js/ui_components.js @@ -308,7 +308,7 @@ function execute_settingEvent(element) { if (["test", "run"].includes(feEvent)) { // Calls a backend function to add a front-end event (specified by the attributes 'data-myevent' and 'data-myparam-plugin' on the passed element) to an execution queue // value has to be in format event|param. e.g. run|ARPSCAN - action = `${getGuid()}|${feEvent}|${fePlugin}` + action = `${feEvent}|${fePlugin}` // Get data from the server const apiToken = getSetting("API_TOKEN");