diff --git a/src/features/auth/dal/user-profile/user-profile.actions.ts b/src/features/auth/dal/user-profile/user-profile.actions.ts index b2707bb..0f5ccc4 100644 --- a/src/features/auth/dal/user-profile/user-profile.actions.ts +++ b/src/features/auth/dal/user-profile/user-profile.actions.ts @@ -97,8 +97,10 @@ const userProfileActions = { }, local: async (input, ctx) => { const userId = input?.userId ?? resolveLocalUserId(ctx); - const profile = await getLocalUserProfile(userId); - const overrides = await getLocalAvatarOverrides(userId); + const [profile, overrides] = await Promise.all([ + getLocalUserProfile(userId), + getLocalAvatarOverrides(userId), + ]); return { displayName: profile?.displayName ?? "Traveler", bio: profile?.bio ?? "No bio provided.",