mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-16 12:28:41 +00:00
datetime is jsonserializable, didn't know that :)
This commit is contained in:
parent
8da2c96fe8
commit
ff2495ad5c
|
|
@ -219,7 +219,7 @@ class Module
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
'createdAt' => $this->createdAt->format('Y-m-d H:i:s'),
|
'createdAt' => $this->createdAt,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user