diff --git a/src/Appwrite/Platform/Tasks/Schedule.php b/src/Appwrite/Platform/Tasks/Schedule.php index 219d1c9886..6883ee30da 100644 --- a/src/Appwrite/Platform/Tasks/Schedule.php +++ b/src/Appwrite/Platform/Tasks/Schedule.php @@ -216,6 +216,8 @@ class Schedule extends Action $functions ->setType('schedule') ->setFunction($schedule['function']) + ->setMethod('POST') + ->setPath('/') ->setProject($schedule['project']) ->trigger(); }