From 2c27ede63d89441649510058f4567fdeb6aa7156 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Thu, 14 May 2026 09:39:23 +0100 Subject: [PATCH] Restore endpoint/key fields; keep them as inherited state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverting the wider cleanup — those properties are part of the inherited Target surface, not the headers issue under review. --- src/Migration/Destinations/Appwrite.php | 4 ++++ 1 file changed, 4 insertions(+) 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)