fixes
This commit is contained in:
@@ -102,7 +102,7 @@ class UserRepo
|
||||
id: $data["id"],
|
||||
name: new Name($data["name"] ?? ""),
|
||||
email: new Email($data["email"]),
|
||||
roles: json_decode($data["roles"] ?? [],true),
|
||||
roles: json_decode($data["roles"] ?? "[]",true),
|
||||
createdAt: $data["createdAt"],
|
||||
updatedAt: $data["updatedAt"],
|
||||
loggedInAt: $data["loggedInAt"] ?? null,
|
||||
|
||||
@@ -52,8 +52,8 @@ class CompileSchemas extends Command
|
||||
$carry,
|
||||
$schema->read,
|
||||
$schema->write,
|
||||
config("lucent.canInvite"),
|
||||
config("lucent.canBuild"),
|
||||
config("lucent.canInvite") ?? [],
|
||||
config("lucent.canBuild") ?? [],
|
||||
), []);
|
||||
|
||||
$json = [
|
||||
|
||||
Reference in New Issue
Block a user