From 3475cc456e56f2ced21a2689d23fa382047c4ad8 Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Wed, 29 Dec 2021 15:42:58 +0100 Subject: [PATCH] Change execute endpoint to POST --- backend/cronRouter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/cronRouter.php b/backend/cronRouter.php index 6587bb1..1c78dec 100644 --- a/backend/cronRouter.php +++ b/backend/cronRouter.php @@ -165,7 +165,7 @@ function job_schedule_availability() { function cronRouter (FastRoute\RouteCollector $r) { $r->addRoute( - 'GET', + 'POST', '/execute', function ($vars) { global $db, $executed_actions;