mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Restore endpoint/key fields; keep them as inherited state
Reverting the wider cleanup — those properties are part of the inherited Target surface, not the headers issue under review.
This commit is contained in:
1 parent
8286322009
commit
2c27ede63d
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user