Skip to content

fix: lint issues#6115

Merged
HenryHengZJ merged 1 commit into
mainfrom
fix/lint-issues
Apr 1, 2026
Merged

fix: lint issues#6115
HenryHengZJ merged 1 commit into
mainfrom
fix/lint-issues

Conversation

@0xi4o

@0xi4o 0xi4o commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the user controller by removing unused variables from the request body during profile updates. Feedback suggests that the remaining manual ID check is redundant and should be removed entirely, as the service layer already utilizes the trusted server-side user ID, which would further clean up the logic and adhere to security best practices.

Comment thread packages/server/src/enterprise/controllers/user.controller.ts
@HenryHengZJ HenryHengZJ merged commit 76c4fc9 into main Apr 1, 2026
7 checks passed
@0xi4o 0xi4o deleted the fix/lint-issues branch April 2, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants