🐜 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:
Wanjohi
2025-04-14 10:51:40 +03:00
committed by GitHub
parent 492013d610
commit 896832b89c
2 changed files with 1 additions and 56 deletions

View File

@@ -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);
},