mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-28 09:18:41 +00:00
datetime is jsonserializable, didn't know that :)
This commit is contained in:
parent
26b1ddaf27
commit
d5f7aae34a
|
|
@ -254,7 +254,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
|
|||
'title' => $this->title,
|
||||
'plain' => $this->plain,
|
||||
'content' => $this->content,
|
||||
'createdAt' => $this->createdAt->format('Y-m-d H:i:s'),
|
||||
'createdAt' => $this->createdAt,
|
||||
'createdBy' => $this->createdBy,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user