diff --git a/src/Migration/Destinations/Appwrite.php b/src/Migration/Destinations/Appwrite.php index e63826dc08..8f300cdd9c 100644 --- a/src/Migration/Destinations/Appwrite.php +++ b/src/Migration/Destinations/Appwrite.php @@ -91,6 +91,8 @@ class Appwrite extends Destination protected Client $client; protected string $project; + protected string $key; + private Functions $functions; private Messaging $messaging; private Sites $sites; @@ -167,6 +169,8 @@ class Appwrite extends Destination ?callable $getDatabaseDSN = null, ) { $this->project = $project; + $this->endpoint = $endpoint; + $this->key = $key; $this->client = (new Client()) ->setEndpoint($endpoint)