revision fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Lucent\Revision;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Lucent\Database\Database;
|
||||
use Lucent\Edge\Edge;
|
||||
use Lucent\Primitive\Collection;
|
||||
@@ -100,8 +101,8 @@ class RevisionRepo
|
||||
schema: $data->schema,
|
||||
createdBy: $data->createdBy,
|
||||
updatedBy: $data->updatedBy,
|
||||
createdAt: $data->createdAt,
|
||||
updatedAt: $data->updatedAt,
|
||||
createdAt: Carbon::parse($data->createdAt),
|
||||
updatedAt: Carbon::parse($data->updatedAt),
|
||||
version: $data->version,
|
||||
data: new RecordData(json_decode($data->data, true)),
|
||||
_edges: $edges,
|
||||
|
||||
Reference in New Issue
Block a user