From 349967cf41715f21beb9fdd2307e3d93f9566111 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 07:01:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Refactor=20fetchUserProfile=20to?= =?UTF-8?q?=20use=20spread=20operator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: is0692vs <135803462+is0692vs@users.noreply.github.com> --- src/lib/github.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/lib/github.ts b/src/lib/github.ts index ed7dd37..757f3e2 100644 --- a/src/lib/github.ts +++ b/src/lib/github.ts @@ -239,18 +239,7 @@ export async function fetchUserProfile( ]); return { - login: profile.login, - avatar_url: profile.avatar_url, - name: profile.name, - bio: profile.bio, - company: profile.company, - location: profile.location, - blog: profile.blog, - twitter_username: profile.twitter_username, - created_at: profile.created_at, - followers: profile.followers, - following: profile.following, - public_repos: profile.public_repos, + ...profile, orgs, pinnedRepos, };