mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐜 fix: Remove Steam account info repetition (#263)
## Description <!-- Briefly describe the purpose and scope of your changes --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - User profiles now display integrated Steam account information for a more consolidated view. - Accounts can now include associated teams and Steam account information. - **Refactor** - Streamlined the underlying data structures for user, machine, and Steam information to improve consistency and performance. - **Chores** - Updated database schemas and upgraded core dependencies, including the `remeda` and `vite` packages, while refining authentication settings for smoother operation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -49,18 +49,10 @@ export namespace AccountApi {
|
||||
"User not found",
|
||||
);
|
||||
|
||||
const { id, email, name, polarCustomerID, avatarUrl, discriminator, steamAccounts } = currentUser
|
||||
|
||||
return c.json({
|
||||
data: {
|
||||
id,
|
||||
name,
|
||||
email,
|
||||
...currentUser,
|
||||
teams,
|
||||
avatarUrl,
|
||||
steamAccounts,
|
||||
discriminator,
|
||||
polarCustomerID,
|
||||
}
|
||||
}, 200);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user