mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
#591 - server-ssh-keys
This commit is contained in:
@ -16,7 +16,7 @@ public function toArray(Request $request): array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'user' => $this->user_id ? new UserResource($this->user) : null,
|
||||
'user' => new UserResource($this->whenLoaded('user')),
|
||||
'name' => $this->name,
|
||||
'created_at' => $this->created_at,
|
||||
'updated_at' => $this->updated_at,
|
||||
|
Reference in New Issue
Block a user