diff --git a/composer.lock b/composer.lock index d18e58cba5..a0bcb622b2 100644 --- a/composer.lock +++ b/composer.lock @@ -3682,12 +3682,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "0d535f3820a0a73b5ba03c5af27b83c0694d8368" + "reference": "a1efe3e10038afe4109af833ce7a25a8ec4b5ed2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/0d535f3820a0a73b5ba03c5af27b83c0694d8368", - "reference": "0d535f3820a0a73b5ba03c5af27b83c0694d8368", + "url": "https://api.github.com/repos/utopia-php/http/zipball/a1efe3e10038afe4109af833ce7a25a8ec4b5ed2", + "reference": "a1efe3e10038afe4109af833ce7a25a8ec4b5ed2", "shasum": "" }, "require": { @@ -3721,7 +3721,7 @@ "issues": "https://github.com/utopia-php/http/issues", "source": "https://github.com/utopia-php/http/tree/fix-prevent-duplicate-compression" }, - "time": "2024-12-02T16:47:45+00:00" + "time": "2025-02-03T12:02:35+00:00" }, { "name": "utopia-php/image", diff --git a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php index 086bad513e..c004bd2c21 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php +++ b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php @@ -65,7 +65,7 @@ class ScheduleExecutions extends ScheduleBase $queueForFunctions->setType('schedule') // Set functionId instead of function as we don't have $dbForProject // TODO: Refactor to use function instead of functionId - ->setFunctionId($schedule['resource']['functionId']) + ->setFunctionId($schedule['resource']['resourceId']) ->setExecution($schedule['resource']) ->setMethod($data['method'] ?? 'POST') ->setPath($data['path'] ?? '/')