Added new column user resource..
This commit is contained in:
parent
d48ccdc628
commit
61ed4e1f52
@ -21,8 +21,11 @@ class User extends JsonResource
|
||||
'name' => $this->name,
|
||||
'email' => $this->email,
|
||||
'locale' => $this->locale,
|
||||
'landing_page' => $this->landing_page,
|
||||
'enabled' => $this->enabled,
|
||||
'created_from' => $this->created_from,
|
||||
'created_by' => $this->created_by,
|
||||
'last_logged_in_at' => $this->last_logged_in_at ? $this->last_logged_in_at->toIso8601String() : '',
|
||||
'created_at' => $this->created_at ? $this->created_at->toIso8601String() : '',
|
||||
'updated_at' => $this->updated_at ? $this->updated_at->toIso8601String() : '',
|
||||
'companies' => [static::$wrap => Company::collection($this->companies)],
|
||||
|
Loading…
x
Reference in New Issue
Block a user