Change execute endpoint to POST
This commit is contained in:
parent
55f4462012
commit
3475cc456e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue