Skip to content

Commit 59cf4a6

Browse files
committed
Fix SDK compatibility
1 parent 2639bb8 commit 59cf4a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Migration/Sources/Appwrite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ private function reportFunctions(array $resources, array &$report): void
297297
$report[Resource::TYPE_DEPLOYMENT] = 0;
298298
$functions = $this->functions->list()['functions'];
299299
foreach ($functions as $function) {
300-
if (!empty($function['deployment'])) {
300+
if (!empty($function['deploymentId'])) {
301301
$report[Resource::TYPE_DEPLOYMENT] += 1;
302302
}
303303
}
@@ -1291,7 +1291,7 @@ private function exportFunctions(int $batchSize): void
12911291
$function['events'],
12921292
$function['schedule'],
12931293
$function['timeout'],
1294-
$function['deployment'],
1294+
$function['deploymentId'],
12951295
$function['entrypoint']
12961296
);
12971297

0 commit comments

Comments
 (0)