diff --git a/src/Migration/Sources/Appwrite.php b/src/Migration/Sources/Appwrite.php index e2d9e427..f526b922 100644 --- a/src/Migration/Sources/Appwrite.php +++ b/src/Migration/Sources/Appwrite.php @@ -297,7 +297,7 @@ private function reportFunctions(array $resources, array &$report): void $report[Resource::TYPE_DEPLOYMENT] = 0; $functions = $this->functions->list()['functions']; foreach ($functions as $function) { - if (!empty($function['deployment'])) { + if (!empty($function['deploymentId'])) { $report[Resource::TYPE_DEPLOYMENT] += 1; } } @@ -1291,7 +1291,7 @@ private function exportFunctions(int $batchSize): void $function['events'], $function['schedule'], $function['timeout'], - $function['deployment'], + $function['deploymentId'], $function['entrypoint'] );