finish event with log user participation
This commit is contained in:
@@ -30,6 +30,9 @@ class User extends JsonResource
|
||||
'is_staff' => $this->whenPivotLoaded('event_guest', function () {
|
||||
return (int) $this->pivot->is_staff;
|
||||
}),
|
||||
'validated_at' => $this->whenPivotLoaded('event_guest', function () {
|
||||
return (int) $this->pivot->validated_at;
|
||||
}),
|
||||
],
|
||||
],
|
||||
'links' => [
|
||||
|
||||
Reference in New Issue
Block a user