You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use App\Http\Requests\UpdateApiUserProfileRequest;
use App\Http\Resources\CurrentUserResource;
use App\Models\User;
use App\Queries\NotificationGroupsQuery;
use Illuminate\Container\Attributes\CurrentUser;
use Illuminate\Http\JsonResponse;
final readonly class UserProfileController
{
/**
* Mirrors the user's GitHub profile again, as Sync from GitHub does on the web, and answers as GET /api/v1/me does.
*/
public function update(UpdateApiUserProfileRequest $request, #[CurrentUser] User $user, UpdateUserProfile $action, NotificationGroupsQuery $notifications): CurrentUserResource|JsonResponse