mirror of
https://github.com/ConjureETS/Interface-Admin.git
synced 2026-03-24 04:21:06 +00:00
member → member()
This commit is contained in:
parent
7753cf3c5f
commit
805846529d
@ -47,16 +47,16 @@ class User extends Authenticatable
|
||||
|
||||
public function getEmailAttribute()
|
||||
{
|
||||
return $this->member->email;
|
||||
return $this->member()->email;
|
||||
}
|
||||
|
||||
public function getFirstNameAttribute()
|
||||
{
|
||||
return $this->member->first_name;
|
||||
return $this->member()->first_name;
|
||||
}
|
||||
|
||||
public function getLastNameAttribute()
|
||||
{
|
||||
return $this->member->last_name;
|
||||
return $this->member()->last_name;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user