diff --git a/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php b/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php new file mode 100644 index 00000000..082b6c72 --- /dev/null +++ b/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php @@ -0,0 +1,23 @@ + (string) $this->nickname, + 'avatar' => (string) $this->avatar, + 'code' => (string) $this->code, + ]; + } +}