mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix serialization mismatch for project/domain fields in Mail and Certificate messages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8888070c7c
commit
52628e44e5
@@ -21,8 +21,8 @@ readonly class Certificate extends Base
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'project' => $this->project,
|
||||
'domain' => $this->domain,
|
||||
'project' => $this->project?->getArrayCopy(),
|
||||
'domain' => $this->domain?->getArrayCopy(),
|
||||
'skipRenewCheck' => $this->skipRenewCheck,
|
||||
'validationDomain' => $this->validationDomain,
|
||||
'action' => $this->action,
|
||||
|
||||
@@ -26,7 +26,7 @@ readonly class Mail extends Base
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'project' => $this->project,
|
||||
'project' => $this->project?->getArrayCopy(),
|
||||
'recipient' => $this->recipient,
|
||||
'name' => $this->name,
|
||||
'subject' => $this->subject,
|
||||
|
||||
Reference in New Issue
Block a user