mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +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:
1 parent
8888070c7c
commit
52628e44e5
2 files changed
+3
-3
No files matched your search
@@ -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