fixes
This commit is contained in:
@@ -2,9 +2,6 @@
|
|||||||
"name": "lexx27/lucent",
|
"name": "lexx27/lucent",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "Lucent cms",
|
"description": "Lucent cms",
|
||||||
"bin": [
|
|
||||||
"bin/lucent-serve"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ class UserRepo
|
|||||||
id: $data["id"],
|
id: $data["id"],
|
||||||
name: new Name($data["name"] ?? ""),
|
name: new Name($data["name"] ?? ""),
|
||||||
email: new Email($data["email"]),
|
email: new Email($data["email"]),
|
||||||
roles: json_decode($data["roles"] ?? [],true),
|
roles: json_decode($data["roles"] ?? "[]",true),
|
||||||
createdAt: $data["createdAt"],
|
createdAt: $data["createdAt"],
|
||||||
updatedAt: $data["updatedAt"],
|
updatedAt: $data["updatedAt"],
|
||||||
loggedInAt: $data["loggedInAt"] ?? null,
|
loggedInAt: $data["loggedInAt"] ?? null,
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ class CompileSchemas extends Command
|
|||||||
$carry,
|
$carry,
|
||||||
$schema->read,
|
$schema->read,
|
||||||
$schema->write,
|
$schema->write,
|
||||||
config("lucent.canInvite"),
|
config("lucent.canInvite") ?? [],
|
||||||
config("lucent.canBuild"),
|
config("lucent.canBuild") ?? [],
|
||||||
), []);
|
), []);
|
||||||
|
|
||||||
$json = [
|
$json = [
|
||||||
|
|||||||
Reference in New Issue
Block a user