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