From 59cf4a6bd46319413963196f05076f460d5b6a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 11 Jul 2025 11:55:17 +0000 Subject: [PATCH] Fix SDK compatibility --- src/Migration/Sources/Appwrite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] );