Fix more tests

This commit is contained in:
Matej Bačo 2025-02-03 13:43:35 +01:00
parent 0fe072b17b
commit f51900a69c
2 changed files with 5 additions and 5 deletions

8
composer.lock generated
View file

@ -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",

View file

@ -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'] ?? '/')