formatted, added team index, create, show
This commit is contained in:
@@ -18,6 +18,7 @@ class TeamMemberResource extends JsonResource
|
||||
'email' => $this->email,
|
||||
'has_multi_factor' => $this->hasVerifiedEmail() || $this->hasEnabledTwoFactorAuthentication(),
|
||||
'role' => $this->pivot->role,
|
||||
'joined_at' => $this->pivot->created_at->toDateTimeString(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user