Change execute endpoint to POST

This commit is contained in:
Matteo Gheza 2021-12-29 15:42:58 +01:00
parent 55f4462012
commit 3475cc456e
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ function job_schedule_availability() {
function cronRouter (FastRoute\RouteCollector $r) { function cronRouter (FastRoute\RouteCollector $r) {
$r->addRoute( $r->addRoute(
'GET', 'POST',
'/execute', '/execute',
function ($vars) { function ($vars) {
global $db, $executed_actions; global $db, $executed_actions;