Skip to content

Commit d59fa9e

Browse files
committedMar 3, 2025·
bump version
1 parent 0731723 commit d59fa9e

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace App\Http\Resources;
4+
5+
use Illuminate\Http\Request;
6+
use Illuminate\Http\Resources\Json\JsonResource;
7+
8+
class AuthenticatedUserResource extends JsonResource
9+
{
10+
/**
11+
* Transform the resource into an array.
12+
*
13+
* @return array<string, mixed>
14+
*/
15+
public function toArray(Request $request): array
16+
{
17+
return [
18+
'id' => $this->id,
19+
'name' => $this->name,
20+
'email_verified_at' => $this->email_verified_at,
21+
'email' => $this->email,
22+
'gravatar' => $this->gravatar,
23+
];
24+
}
25+
}

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "justd/laravel",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"type": "project",
55
"description": "The skeleton application for the Laravel framework.",
66
"keywords": [

0 commit comments

Comments
 (0)
Please sign in to comment.